Create characters walking beside you?

  1. I am trying to create characters walking beside me such as:

I am wondering what is the best way to go about doing this?

4 Likes

I know it’s not helpful to say “google it”, but in this case you might find a lot of information on the subject on Google and YouTube. Specifically if you search terms such as “pets”, “followers”, etc. since that’s what they’re commonly referred to. Something like “How to make pet followers in Roblox Studio” might be a good start. :3

1 Like

I think it would be like this

local offset =  --<== the offset off the npc to the player
local charater   = player.Charater --<=== the character off the player
local targetpos = character:WaitForChild("HumanoidRootPart").CFrame:VectorToWorldSpace(offset)

and then let an pathfinding ai go there here some documentation:
Pathfinding docs
and then it should work try it out if it doesnt then sorry but I havent tested it yet

1 Like