Pathing Camera and Object Problem

   2414   1   0
User Avatar
Member
32 posts
Joined: Feb. 2007
Offline
I have put my camera and a train along a path and had it follow a path. The camera and train keep flipping upside down at the same points along the path. How can I stop them from rotating? What is going on here and how do I fix this?

Thank you ahead of time,

Cory
User Avatar
Member
7750 posts
Joined: July 2005
Offline
It depends on your curve. First try setting Auto-Bank factor to 0 to see if that fixes it. If not, then set it back to 1 and then set Orient Along Path to 0. If neither of these things work, then you might have a path that goes in the opposite direction of the default up vector (+Y axis).

In that case, try putting these expressions in the Orient Up Vector parameter:
  • normal(chs(“pathobjpath”), 0, ch(“pos”), 0, 0)
  • normal(chs(“pathobjpath”), 0, ch(“pos”), 0, 1)
  • normal(chs(“pathobjpath”), 0, ch(“pos”), 0, 2)

    This tells the object to always use the normal of the path to as its up vector.

    Another way to solve this is to keyframe the Orient Up Vector parameter at the bad spots.
  • Quick Links