L
Larf
Guest
I started to make a game using physics, and I have a question. I have my topdown game with a character that has a weapon, the weapon's sprite's x and y being the same as the caracter x and y. And I want the weapon to spin following the right joystick's spin (around the character), I think I want to use torque, because I want the weapon to be able to push things, but I have no idea of how to have the weapon spin like that, my problem being that I don't know how to tell with code if the weapon has to spin clockwise or anticlockwise, maybe there is a even simpler way? how would you do it?
I'm sorry if my problem is hard to understand, but... I need help.
Thanks!
I'm sorry if my problem is hard to understand, but... I need help.
Thanks!