-
Senior Member
need an object to follow rider as he goes around a circle
I'll try to explain best as I can :/
The rider goes around a loop. I need a pipe to rotate around the outside of the loop at the same position relative to the center as the player. I've tried to use a custom camera pointed at the player, then setting the object to rotate based on the camera's rotation however the camera starts at 180 then rotates to 270, before inverting and returning to 180! So the pipe will follow perfectly half-way before moving in reverse 
Imagine if the minute-hand of a clock went 12,1,2,3,4,5,6,5,4,3,2,1,12 - that's what it's doing!
It has to move when the rider moves, but not spin when the rider spins. Very frustrated here.
-
Senior Member
Re: need an object to follow rider as he goes around a circl
i don't completly understand what you are trying to do but i'll try to help
do you know how to change the axis the objects turn around?
can it be fixed with offsetting the gluejoint from its original point?
i guess since its a loop you also could use physics?
you could place some invisible glued objects glue a force to it and let it always point towards the rider
(i would reduce weight as much as possible so to get optimal rotation)
if you can't make it work we'll both need to try and explain it better
-
Senior Member
Re: need an object to follow rider as he goes around a circl
Ya I got Andy's Helicopter to turn smoother using the Directional Force thing.. that might be the way to go here. Gotta add dampening too to keep it straight.
-
Senior Member
Re: need an object to follow rider as he goes around a circl
how did you use the camera rotation exactly?
did you add to the angles with extra opperands to make it turn in the right direction? because that is the bad way to do it
the right way is hard to explain and requires some snapping and use of some glue objects to rotate the rotation axis
this is if the physics way isn't smooth enough