How do I go about moving a part towards me when my character is not looking at it?

I’m looking for the general idea as to how I can make a part move towards me when my character is not facing it.

Any help is appreciated :slight_smile:

1 Like

You would want to use Vector3.new for moving a part closer to the player, and use a ray to determine if your looking at an object with for an example, you can name your part as “NPC” and when the ray doesn’t detect the part named “NPC” you could use Vector3 to move it closer to you

Don’t also forget to use LookVector as this will then shoot the ray the direction that the player is looking

1 Like