ya know the movement where the body is facing the mouse while the legs are facing the movement direction?
well im trying to figure that out, but i keep ending up with the weirdest outcomes
i’ve deleted everything about it and just put some basic movement to work on some other things
Have you ever studied polar coordinates, or trigonometry?
You have the legs move separately, and the body shares the legs’ position, except is rotated by a certain number of degrees. To find the degrees, do the following:
So I played it a bit, and I actually like the way they did it. I think it’s completely unnecessary, but they make it look alright.
I don’t see what you don’t get about how they did it, though. If you press up, turn the legs up. If you press left, turn them left. The position of the legs and body stay the same.
Legs under body just means you put them on different depths. I don’t remember how to do that, and I don’t have GM on this computer, but it’s in the help files. Look around for “instance depth” or something like that.
To make them face the movement direction, just do an if thingy: