YouGroove Posted March 5, 2013 Share Posted March 5, 2013 Strange my character always was faciing backwards the direction it followed with NavMesh ? So after GotPoint() in the UpdatePhysics() i added some code that just rotate the character to the direction point it will go (the same point as NavMesh destination). And the character now is rotated in the right way, it points to the direction of the target point. So NavMesh seems to be bugged finally with the direction component. Because the Rotation the model by code to the target works just well , so it prooves the character model is already in the good Axis. Could NavMesh have an option for the rotation of the model it will move ? If it would be wrong , we would just add some 180 value in a field special for NavMesh in same panel as Physics or by code ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Chris Vossen Posted March 5, 2013 Share Posted March 5, 2013 Try setting the characters physics rotation to 180 Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 6, 2013 Author Share Posted March 6, 2013 Thanks, in fact i put 180 on shape rotation, i didn't understood. I'll try that Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.