Restrict rotation over local axis

dinvog

28-03-2007 21:00:07

I wanted to know if there is anyway to restrict a body from rotating over one of its axis. I looked at the freezerotation method, but that only restricts rotation over the world axis, I wanted to restrict rotation over the bodies local axis?

Any ideas!

betajaen

28-03-2007 22:13:44

Not of the top of my head. But perhaps you may be able to get away with it, with a D6 joint - but even with that I have my doubts.

May I ask what are you trying to do?

dinvog

28-03-2007 22:27:14

I am still working on the car model going through a tunnel. Now I don't want the car to turn around when it hits an obstacle i.e. it should always face the correct direction in the tunnel.