Spongy Collision?

olster1olster1 Member Posts: 396
edited November -1 in Working with GS (Mac)
I'm having some issues with collision. I have a feeling it may just be gamesalad but there may be something I'm doing wrong. A have a movable platform that I can use with my moving pink box. When I move the platform at a reasonable speed up against the pink box, the box has trouble catching up with the surface of the platform. As a result, the box is absorbed into the platform. (The best way I can explain it :D ) To help you see what I mean here it is :)

All I have is a collision rule between the platform and the box.
So, is this just the way game salad is or am I doing something wrong?

Thanks guys

Comments

  • creativeappscreativeapps Member Posts: 1,770
    your video is private
  • olster1olster1 Member Posts: 396
    lol..... video should be public now ! :D
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    try changing the density of both the objects to something really high like 50000 or 100000 and try having a collide behavior in both the objects to collide with the other
  • olster1olster1 Member Posts: 396
    Thanks but no luck, I messed around with all the physics attributes and they both have a collision rule. :/
  • ValanValan Member, BASIC Posts: 410
    I think you may need to look at your pink box motion.

    Are you defining a y position within the general motion?
    If so then turn the y motion off when it collides.

    Also check that the collision shape is set to rectangle.
  • olster1olster1 Member Posts: 396
    Thanks Valan! Stupidly I forgot I had accelerate downwards set to 10k. Thanks very much! It's now set up so, when it collides with platform set linear y velocity to 0 otherwise accelerate downwards 10k. Does that seem like the best solution? :)

    Thanks again
  • ValanValan Member, BASIC Posts: 410
    Welcome.
    You can also try taking it off when the block is at a particular y coordinate.
Sign In or Register to comment.