im working on a platformer shooter where a player's model is capable of shooting in a direction of a mouse cursor.
i have done legs and torso animation so far, and it's working well, geting mirrored when you alternate direction movement, left or right.
i got the "weapon and arm" sprite separated from the rest of the model, now i have to make it allways facing the mouse cursor so a player can aim, but also it has to mirror the whole animation if the cursor goes from left side of the model to right and vice-versa
help much appreciated !
Develop games in your browser. Powerful, performant & highly capable.
Every Tick > Weapon Set Angle Toward Position > Mouse.x,Mouse.y
If Touch.x > weapon.x = Set Mirrored
Else = Set Not Mirrored.
I Am Not Good At English, Sorry.