Jump to content
  • Advertisement
Sign in to follow this  
jyou23

how to make the npc follow a moving target(moved by physics) smoothly?

This topic is 2787 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have several NPC want to follow the player, if the player stand still, I can use liner interpolation to move the npc towards the player's position, and it works well, however, it's jiggle if the player is moving as well(player is moved by force with physics, but npc is just controlled by updating the position directly). Any ideas to make the npc to follow the player smoothly? Thanks

Share this post


Link to post
Share on other sites
Advertisement

This topic is 2787 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!