I am creating a game of graphic adventure using the prefab of AI Third person character (Alex). Everything is fine but when I move, when I reach the destination, Alex stops his animation but moves about 3 seconds in the direction to which it moved. To move I use a simple script that I did. I ordered him to click on a plane called floor, create a movement dummy, then Alex takes that dummy as his destination, and then erases the dummy instantly. How can I erase this slide at the end of the route? IM USING CSHARP
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
337 People are following this question.
Player loses momentum when landing
Question on rigidbody character rotating to the degree of input and then moving
Move Player out of trigger
How to Limit or Remove Acceleration with RigidBody2D?
My animation is working but the character won't move.