toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
How to rotate an actor on himself
picoalex
Member
Posts:
13
October 2012
edited October 2012
in
Working with GS (Mac)
How to rotate an actor on itself, while it is moving?
Comments
UtopianGames
Member
Posts:
5,692
October 2012
edited October 2012
If you mean rotate to the direction your moving you need to constrain self.rotation to vectorToAngle( self.Motion.Linear Velocity.X , self.Motion.Linear Velocity.Y )
Make sure your image faces to the right, we have a free demo below.
http://www.deepblueapps.com/homing-missiles-template/
Darren.
picoalex
Member
Posts:
13
October 2012
I have to simulate the fall of a bomb, the bomb when it falls to rotate on itself. How do I?
picoalex
Member
Posts:
13
October 2012
???
Sign In
or
Register
to comment.
Comments
Make sure your image faces to the right, we have a free demo below.
http://www.deepblueapps.com/homing-missiles-template/
Darren.