Jump to content

NavMesh direction is rong ?


YouGroove
 Share

Recommended Posts

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 ?

Stop toying and make games

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...