This site requires JavaScript, please enable it in your browser!
Greenfoot back
s08098
s08098 wrote ...

2017/2/16

What rotation

s08098 s08098

2017/2/16

#
How do I get the Rotation of my actor and use it in an 'If' Statement.
danpost danpost

2017/2/16

#
s08098 wrote...
How do I get the Rotation of my actor and use it in an 'If' Statement.
You get the rotation of the actor with the 'getRotation' method and you compare it to a value between 0 and 359 (or compare it two or three times to determine a range of values).
You need to login to post a reply.