Rotate Angle According To Speed and Height

robert.mccarthyrobert.mccarthy Member Posts: 165
edited November -1 in Working with GS (Mac)
Hi All,

Basically, I am shooting an arrow (all ok at the moment with physics etc).

However, I want to know if anyone can help me implement it so that the arrow rotates according to when it starts to fall out of the air?

Any and all help appreciated

Comments

  • jmp909jmp909 Member Posts: 73
    i imagine you would use vectorToAngle on newX-oldX, newY-oldY
  • chosenonestudioschosenonestudios Member Posts: 1,714
    or if the arrow fell out of the sky at 460

    when self.position.y is less than or equal to 460:

    rotate :D
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    I have a bow and arrow demo. check out my profile
Sign In or Register to comment.