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

Started by
0 comments, last by Sneftel 13 years, 4 months ago
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
Advertisement
Please don't cross-post on these forums.

This topic is closed to new replies.

Advertisement