How do I get a rotating character to shoot in line with gun

Get help using Construct 2

Post » Mon Jan 16, 2017 9:42 am

I have a character that can rotate 360 degrees. He can shoot from his left or right hand and I'm trying to get it so that if I hit fire left, and he's spinning in the air, his bullet will fire from the angle that his gun was facing eg. Character is flying through the air spinning clockwise, fires gun at angle 270, bullet fires at that 270, character keeps spinning, fires again at angle 310, bullet fires at 310.

Everytime I try to get these bullets to fire, they only fire a static direction (always left, or always right, etc).

Any help would be appreciated! Thanks!
B
2
Posts: 2
Reputation: 154

Post » Mon Jan 16, 2017 1:09 pm

From your description it could be this that you want.

https://drive.google.com/open?id=0B1SSu ... 0ZWRUVFRFk

Or this ?

https://drive.google.com/open?id=0B1SSu ... m1oeGIwMDA

I know there is a plugin to do this. Just cant remember its name.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Jan 16, 2017 8:06 pm

It was the EEN version, thanks so much. I'm going to study this!
B
2
Posts: 2
Reputation: 154


Return to How do I....?

Who is online

Users browsing this forum: Laura_D and 28 guests