03-18-2016, 08:34 PM
(This post was last modified: 03-18-2016, 08:45 PM by samsamm777.)
Hey Jake, Yes it was me you emailed. I bought curvy anyhow, as i think i can put it to good use.
I dont think i can make the object a child of the GameObject holding the spline as its a rigid body and i believe re-parenting rigid bodies isnt a good idea.
Ive made some progress today, but i still feel my implementation isnt quite right. take a look if you fancy.
https://gist.github.com/samsamm777/a3c1d6c7ad81a0607806
The problem with this implementatin is that when objects are traveling on the inside of the curve, they 'move backwards' if the curve is tight. im finding it tricky to resolve this
I dont think i can make the object a child of the GameObject holding the spline as its a rigid body and i believe re-parenting rigid bodies isnt a good idea.
Ive made some progress today, but i still feel my implementation isnt quite right. take a look if you fancy.
https://gist.github.com/samsamm777/a3c1d6c7ad81a0607806
The problem with this implementatin is that when objects are traveling on the inside of the curve, they 'move backwards' if the curve is tight. im finding it tricky to resolve this