still bouncing when colliding?

SkyMapleSkyMaple Member Posts: 817
edited November -1 in Working with GS (Mac)
I have a player actor that is moved by the arrow keys. up-up down-down left-rotate right-rotate. I want the actor to collide with the wall but not bounce. i set the restitution to zero on both the player and the wall but it still moves when colliding with the wall. how can i fix this?

Comments

  • SkyMapleSkyMaple Member Posts: 817
    it still doesnt work :(

    the player and the wall are both locked, the collide is on the player, and I tried changing the wall density but it doesnt work
  • SkyMapleSkyMaple Member Posts: 817
  • SkyMapleSkyMaple Member Posts: 817
    uptimistik said:
    http://www.mediafire.com/file/cbl82kj7v4x3i0m/Moving around, no colide.zip

    Download this project template.

    Thanks! although this doesnt work with the way I have the controls set up. Im using a rotate with the left and right arrows.
  • SkyMapleSkyMaple Member Posts: 817
    uptimistik said:
    Well add those controls to it and see if it makes a difference.

    haha! I just figured out a work around!

    when key up+down is up-
    constrain linear X,Y to 0

    when key left+right is up-
    constrain angular velocity to 0
Sign In or Register to comment.