Skip to content

Conversation

@moisesjpelaez
Copy link
Contributor

Taking bits from here from @Dev-MarkoF. One thing is manifolds should be cleared/detached in World.hx (but I'm not sure what does that mean).

I hope this helps as a starting point if it doesn't close #45 .

Tested and working in Armory 2024.07

@saharan
Copy link
Owner

saharan commented May 18, 2025

Thank you, it definitely helps!
I need to edit and test it before merge though, e.g. shapes should have the isTrigger flag, not rigid bodies because collision events occur per shape pair.

@moisesjpelaez
Copy link
Contributor Author

moisesjpelaez commented Aug 9, 2025

I moved the isTrigger flag to Shape. I also attempted a fix when trigger collisions occur, by reducing the manifolds to 1 in World.step(), however after a trigger collision happens, sometimes the non-trigger body that collided pass through other non-trigger bodies for a few milliseconds.

Edit: I just fixed the trespassing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add ghost rigid body feature

2 participants