Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline+Controller Instantiated at Runtime
I'm having issues trying to get an object to follow a spline, when both the object and the spline are defined during runtime

essentially what happens is:

1. user draws in space (in my case, using vr controllers)
2. points are generated from the user's drawing motion
3. a Spline and mesh are generated from those points
4. an object (with corresponding SplineController) is instantiated, which travels along said curve

I've gotten steps 1-3 to work adequately; I'm having trouble with 4.  The InfiniteTrack example is somewhat useful, but both my Spline and my SplineController are being instantiated at run time -- when I try to assign the Spline to the Controller via script, it doesn't move (even when waiting for initialization before calling Play() ).

I can provide more info or a project file if needed.  Thanks in advance.

Yes, please send me a package to jake<at>


Possibly Related Threads...
Thread Author Replies Views Last Post
  Spline Controller Animate - Don't understand the Speed and TimeScale properties GenericJoe 8 235 05-10-2018, 10:42 AM
Last Post: _Aka_
  spline controller is frustrating hawken 1 68 05-02-2018, 04:08 PM
Last Post: _Aka_
  Speed variable in Spline Controller eco_editor 1 64 05-02-2018, 10:47 AM
Last Post: _Aka_
  Path Controller GameObject parent / attach to another to another Moving GameObject. chiako3D 4 181 04-24-2018, 06:47 AM
Last Post: chiako3D

Forum Jump: