I just need some help understanding 2D movement. I’ve seen a variety of scripts that do 2D movement in different ways and I don’t really understand them. I know I’m being broad, but that is because my knowledge is lacking. What ever method you use is appreciated, whether that be just explaining commonly used script or showing me a script and explaining it piece by piece. I know i’m asking a lot from a bunch of internet strangers, so I want you to know I appreciate you taking your time to help a newbie like me, thank you very much in advance.
1 Like
If you have questions please ask and I will try to answer
What does Space.Self do?
So heres my understanding of it, Space.self Spaces out or moves the player from its transform or position. Space.world moves it to the transform of the world or game. I’m not shure if this is super correct but that’s my understanding of it. Ex:
transform.Rotate(Vector3.up * 0.9 * Time.deltaTime, Space.Self);
Heres where I got the information from if you want to look more into it Unity - Scripting API: Space.Self