Issue with colliding with Wall Tag

JackYdJackYd Member Posts: 93
edited December 2011 in Working with GS (Mac)
Hey Guys

I have a box set up with the wall tag but the box is rotating counterclock wise. Whenever the hero collides with the box, the box is knocked out of place (its no longer rotating and it falls down). How can I make it so when the hero lands (collides) on the box, it still rotates and stays in its position?

Comments

  • deej011deej011 Member Posts: 159
    Did u make the wall not movable?
  • POMPOM Member Posts: 2,599
    edited December 2011
    @PikPocketStudio
    In your box , if you want it to stay where it is you gonna have to constrain its position .
    so constrain the "Self.position.X" and "Self.position.Y" to the coordinates you want .
    This way your platform will rotate but will not leave its position upon collision.

    Cheers
    Roy.
  • JackYdJackYd Member Posts: 93
    Awesome POM. Thanks for the help. I'm farely new to this whole thing.
Sign In or Register to comment.