I’m making a magnet example, and I need to apply velocity towards that object. How do I do that?
2 Likes
2 ways that I can think of:
-
Use “point at” and use “forward” to move to the object. You can hide this object and use an attach to keep the player upright.
-
Use advabce Math to input x and y to move towards the object. Most likely you’ll use cos and sin.
3 Likes