I’m currently working on a simulator and one feature of my simulator is where you harvest objects. I want it so the character moves just a couple studs in front of the object. Instead of trying to walk into the object.
I have tried humanoid:MoveTo(object.Position)
and this is what I intend on using, but the only problem is humanoid:MoveTo(object.Position)
is that it moves the character to the center of the object. The object I want the character to harvest has CanCollide on making the character to glitch and just keep walking into the object.
I have tried humanoid:MoveTo(object.Position - Vector3.new(0,0,12))
and a few other Vector3 values but the problem is it will move to the other side of the object. I want the player to stop in front of the object in the direction they are facing.
Thank you! any help would be appreciated