Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
Aeleas

why my object keep shaking ?

Question

I have a code that lead me object to a certain object. he should go inside it and he do but keep shaking !!?

Please login or register to see this code.

what i want is stop this damn shaking ?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi - the problem is that you assign your target as your own transform. So your target is the own Navmesh Agent itself. That produces that shaking because he tries to reach his own position. So just change the following lines ....

Please login or register to see this code.

.... to that:

 

Please login or register to see this code. Edited by Bomshi2
  • Like 1

Share this post


Link to post
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.

Guest
Answer this question...

×   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.

Sign in to follow this  

×
×
  • Create New...