[SOLVED] Collision problem?

Uuemaich

  • Posts: 52
My player collides with a "Wall" tile and a "Block" actor properly. But when my player pushes the "Block" actor using the set velocity, the "Block" actor goes right through the "Wall" tile. I have them both set up to collide with each other and everything.

The solution is probably really simple. Thanks! :P

« Last Edit: April 08, 2012, 12:03:53 pm by Uuemaich »

rob1221

  • *
  • Posts: 9473
Is the block set to "normal" in collision settings?

Uuemaich

  • Posts: 52
It's set to "cannot be pushed". I set it to "normal" and it works, but then it moves upon just touching it. Is there a way to make it not move when touched, aside from pressing "action2" when collided with it?

« Last Edit: April 08, 2012, 10:56:59 am by Uuemaich »

rob1221

  • *
  • Posts: 9473
Try making the mass and friction very high.

Uuemaich

  • Posts: 52
Dude, I love you! That worked! XD

But now when the block collides with the wall, this pops up and the game freezes. Nevermind, apparently I just had to restart it. Stencyl likes to crash on me if it's been open for a while... XD

« Last Edit: April 08, 2012, 12:03:34 pm by Uuemaich »