fixed rotation

steeler0038steeler0038 Member Posts: 153
edited November -1 in Working with GS (Mac)
I have fixed rotation checked under physics. How do i get it to "uncheck" when i hit a button during play? is this possible?

Comments

  • gurechangurechan Member, PRO Posts: 211
    I believe it isn't possible to change any physics attributes from the game. They can only be set in the creator.
  • RedlerTechRedlerTech Member Posts: 1,583
    ok, uncheck fixed rotation & just do this.

    Create an attribute - (Boolean) Collided

    When actor1 overlaps/collides with actor2 change game.Collided to true

    Rule: When game.collide is false constrain self.rotation to 0

    Matt :D
  • AppsRacKAppsRacK Member Posts: 346
    You could try to constrain its rotation to "0" but i'm not sure if its gonna work cos i haven't tried it :)
Sign In or Register to comment.