Walking Pet / Follower?

I’ve been trying for quite some time to < replicate > a follow system similar to the one shown below.
I’ve tried DevForum many times in the past and had no such luck.

I’ve tried all sorts of methods to replicate this.

  • BodyConstraints
  • CFrame
  • MoveTo

None have the desired results - I always thought the Pets below used a CFrame but after looking again that doesn’t seem to be the case. Given that it’s capable of falling off a ledge I’d assume it relies on physics and must use a Humanoid, but even so with that how would I keep the constant and persistent distance between the Pet and the Player as shown?



1 Like

Try raycasting down from the pet so it can see what height it should ‘walk’ at.

1 Like

Tried that one as a part of the CFrame. :confused: Tried Lerping etc.
The ones in the videos seem to work using Humanoid / Potentially MoveTo as they stop at obstructions etc.

1 Like

You could keep track of the players moving positions and store to a table or w/e and make the npcs moveto the said positions in the table, effectively ‘following’ the player down to a T.