Impact icon indicating copy to clipboard operation
Impact copied to clipboard

Prevent specific entities from sliding or being pushed upon collision on weaker vs stronger types.

Open rontrek opened this issue 6 years ago • 4 comments
trafficstars

I'm trying to make a game that does not involve any sliding physics or pushing entities and I can't figure out how to prevent sliding when entities come in contact with each other.

Is there a particular setup that can prevent this on all or certain type of entities?

rontrek avatar Sep 01 '19 09:09 rontrek

Shouldn’t entities not be colliding, pushing, or sliding by default? I thought ig.Entity.collides is configured to NEVER by default...

Joncom avatar Sep 03 '19 16:09 Joncom

I know, sorry if that was not clear and will update the title subject. What I'm talking about is when a collision mode is now set to the weaker vs stronger types. Is there a way to disable sliding?

rontrek avatar Sep 05 '19 02:09 rontrek

Not sure what you mean by “sliding”. Can you post a video capture (GIF) or something?

Joncom avatar Sep 09 '19 10:09 Joncom

More like bounciness if that's what it's called where an entity bumps and collides into a stronger type entity like FIXED type, the entity drifts back or in the opposite direction.

btw, I have tried bounciness set to 0 and it still bounces back.

rontrek avatar Sep 09 '19 16:09 rontrek