How to make a part that levitates and chases a different part?

I’m trying to create a part that levitates, and chase a different part. But I don’t know what to do here, I’ve tried LinearVelocity’s, Animations, VectorForces, Humanoids, PrismaticConstraints… None of it seems to work, it’ll just bug out or not work at all. Maybe I’m missing something obvious?

You might want to consider Character Controllers. While fairly complex, they produce rather good results
Character Controller Docs

1 Like

If you’re looking for path finding (e.g. going around walls), you’ll need to use the PathFinding service:

If you just want it to go in a straight line, you can use an AlignPosition to control the position of the part and then set the AlignPosition’s goal to something closer to the target each frame (e.g. by differenceInPosition.Unit * chaseSpeed * frameDeltaTime)

I’ve never seen this before in my life, you might’ve saved me a lot of time for newer models. :smiling_face_with_tear:

I found out about them 3 days ago also :laughing:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.