How do I rotate a cannon as the pad stick is oriented ?

Get help using Construct 2

Post » Wed Oct 05, 2016 7:45 am

hi guys, how could I do that. I have a cannon that can rotate 360°. I would rotate it to the position as the game pad stick is. If It is on 35° also the cannon should be 35°...

thanks :)
B
41
S
17
G
2
Posts: 478
Reputation: 5,132

Post » Wed Oct 05, 2016 9:10 am

Check this answer
It is for the right stick, but then having the same for the left stick is changing the index of the axis you are checking for in the formula.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
312
S
129
G
101
Posts: 7,427
Reputation: 75,378

Post » Wed Oct 05, 2016 1:43 pm

thanks a lot :)
B
41
S
17
G
2
Posts: 478
Reputation: 5,132


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests