Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline+Controller Instantiated at Runtime
#1
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.

-Corey
Reply
#2
Yes, please send me a package to jake<at>fluffyunderware.com.

Thanks
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Syncing UI Spline and Regular 3D Spline arrnav96 8 89 03-21-2019, 12:13 PM
Last Post: _Aka_
  Applying Centrifugal Force to Controller Mighty183 5 179 03-07-2019, 10:43 AM
Last Post: _Aka_
  Assigning "OnControlPointReached" and "OnEndReached" values during runtime? TenaciousLibbs 1 58 03-06-2019, 11:02 AM
Last Post: _Aka_
  How do I find closest spline ? dazz777 4 176 02-20-2019, 09:47 AM
Last Post: dazz777

Forum Jump: