Determine image based on angle
daverenner
Member Posts: 133
How can i swap my image based on angle? I tried everything. Basically if you touch on the right side of the screen it needs to display one image. If you press on the left side its a different image.
Where you touch it launches a bullet and all that works, it will shoot correctly but i need another actor to face the way the bullet is going. I tried saving the value to an attribute and constraining it to another actor and it will rotate the other actor the correct degrees, so i thought i could use math < > and swap the image that way but it didn't work.
Dave
Where you touch it launches a bullet and all that works, it will shoot correctly but i need another actor to face the way the bullet is going. I tried saving the value to an attribute and constraining it to another actor and it will rotate the other actor the correct degrees, so i thought i could use math < > and swap the image that way but it didn't work.
Dave
Comments
Don't think GS has a funtion for flipping an image.