Character spins around when colliding with the edge of actor.

keflynkeflyn Member Posts: 29
edited November -1 in Working with GS (Mac)
Hello all,

I'm completely new to GameSalad and I must say how amazing this is compared to AS3 however I am having a little problem. My game is birds eye exploration game so I have created boundaries using the 'Collide' behavior in my Hero(playable character) actor (Hoping this is correct, using the car example as reference). My problem is that if the players hits the block boundaries corners/edge it makes my character rotate, this originally happened when hitting them at any angel which I managed to fix but not sure what to change for this one. Any help?

Thanks in advance,

Keflyn.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    try changing the restitution to 0 under the physics attributes of the player and wall.
  • keflynkeflyn Member Posts: 29
    They're already both set to 0, that was the problem at the start, now it is just the corners.
  • PhoticsPhotics Member Posts: 4,172
    Friction?
  • keflynkeflyn Member Posts: 29
    It was the density causing the problem. I missed it out on turning stuff to 0. Thanks!
Sign In or Register to comment.