Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Assigning "OnControlPointReached" and "OnEndReached" values during runtime?
Post: RE: Assigning "OnControlPointReached" and "OnEndRe...
I know this is an old post but if anyone is still having the issue I solved this problem using the following:
private SplineController _splineController;
[SerializeField] private GameObject ... |
|
PretzelStudios |
Curvy Splines - support forum
|
2 |
3,010 |
02-18-2021, 01:12 PM |
|
|
Thread: instantiate Spline Controller at runtime
Post: RE: instantiate Spline Controller at runtime
Ok Cross-checking that thread I did manage to figure this out.
For anyone in the future here is my code to make this work.
Code:
--
using System.Collections;
using System.Collections.Generic... |
|
PretzelStudios |
Curvy Splines - support forum
|
2 |
1,844 |
05-07-2020, 09:03 PM |
|
|
Thread: instantiate Spline Controller at runtime
Post: instantiate Spline Controller at runtime
Hi all,
Please could someone point me in the right direction?
I have a script that instantiates a gameobject with a spline controller attached.
Is there a way of telling this gameobject what sp... |
|
PretzelStudios |
Curvy Splines - support forum
|
2 |
1,844 |
05-07-2020, 08:14 PM |
|
|
Thread: How can I make the path visible in game?
Post: RE: How can I make the path visible in game?
Line renderer on the main camera did just the trick. Thanks for your help :) |
|
PretzelStudios |
Curvy Splines - support forum
|
4 |
4,311 |
06-02-2019, 02:32 PM |
|
|
Thread: How can I make the path visible in game?
Post: RE: How can I make the path visible in game?
_Aka_ Wrote: (05-30-2019, 08:50 PM)
--
Hi,
If you want to render a spline, you can use a Curvy GL Renderer, used in example scene 00_SplineController; or a Curvy Line Renderer, used in scene 04_Pain... |
|
PretzelStudios |
Curvy Splines - support forum
|
4 |
4,311 |
05-30-2019, 09:24 PM |
|
|
Thread: How can I make the path visible in game?
Post: How can I make the path visible in game?
Hi guys, I am trying to make the spline visible in game is there a simple way to do this?
Thanks in advance :) |
|
PretzelStudios |
Curvy Splines - support forum
|
4 |
4,311 |
05-30-2019, 07:03 PM |
|
|
Thread: Nearest Point
Post: RE: Nearest Point
_Aka_ Wrote: (04-22-2019, 12:00 PM)
--
Hi,
First get the nearest point's TF from the player using the method GetNearestPointTF.
Then, if necessary, convert TF to distance using TFToDistance
Add ... |
|
PretzelStudios |
Curvy Splines - support forum
|
4 |
4,308 |
04-23-2019, 10:02 PM |
|
|
Thread: Nearest Point
Post: RE: Nearest Point
so got around this with what i said above which isn't a big deal. But is there a way to following object speed up instead of snapping to the point in front?
Thanks. |
|
PretzelStudios |
Curvy Splines - support forum
|
4 |
4,308 |
04-20-2019, 03:26 PM |
|
|
Thread: Nearest Point
Post: Nearest Point
Hi guys,
Total newbie here....
I have set up the script to move to nearest point like in the demo. But is there a way for this object to jump to the next point ahead of the player?
So instea... |
|
PretzelStudios |
Curvy Splines - support forum
|
4 |
4,308 |
04-20-2019, 01:13 PM |