Smooth move object

Hello!! iam trying to make a copy of hungry hungry felhound in babylon Warcraft 3 TFT - Hungry Hungry Felhounds #3 - YouTube

but i have trouble in the move of the hound, i cant make it smooth like the video
Follow demon 2 | Babylon.js Playground (

any ideas?? i found other game called Dread rite
Dread Rite (
he uses a speed in x and z directions, try to copy it but it didn’t work
Follow demon | Babylon.js Playground (

I already did it but some help on how to make the curve smaller???
Follow demon | Babylon.js Playground (

Maybe @Cedric has some ideas ?

My suggestions :

  • clamp the acceleration and speed values. something like speed = Math.min(speed, max_speed)
  • set the target position as the player position minus (player direction * radius). where radius is the distance between the follower and the player.
  • multiply follower speed by Math.min(distance between follower and player, 1). So, when follower gets closer, it will decelerate.
1 Like

Hi @Abner_Corona just checking in, were Cedric’s suggestions helpful? :slightly_smiling_face: