Sign in to follow this  

[solved] Rotate player correct on rotating platform

Recommended Posts

Hi @all again,

I have a huge problem with rotation. I hang about one week on this problem. I perpared a playground:

I have a player with a front side. You can see the front side with the aid of the nose mesh. It is the player view direction. The player rotates with the camera rotation. The player stand on a platform. It is possible to rotate the platform with the keys V, B and N.

My achived behavior is: The player stand ALWAYS orthogonal on the platform indifferent the platform is rotating AND the player can rotate normal  by himself in his own Y-axis direction by rotating the mouse.

In the playgound you can see my try with the nearest similar behavior. It seems to work, but how you see in the picture it dont work correct.

I realy dispair :wacko: I am open to all suggestions



Share this post

Link to post
Share on other sites

Thanks. Your demo has a strange behavior somehow (The player is flies ). I think its up to an alpha BJ update?

Edit: now your demo works again

I will try and play around with it.

Edit: Your way seems to work for me. Thanks a lot! :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.