You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stack two Spheres on same position and collisionFilterGroup/collisionFilterMask them so they don't interact.
Add collide event listeners.
Add a Sphere-trigger.
applyImpulse so they move into trigger.
See that you only get a single collide-event.
Is it only me, or has some one else also encounted this?
The text was updated successfully, but these errors were encountered:
ChrisAcrobat
changed the title
Event collide is only thrown one when stacked objects enter trigger
Event collide is only thrown once when stacked objects enter trigger
Aug 22, 2023
I found my problem. collisionFilterGroup default to 1 (first group) instead if -1 (all groups).
When I added a check to set collisionFilterGroup to -1 if it was unset everything started to work.
How to reproduce
Sphere
s on same position andcollisionFilterGroup
/collisionFilterMask
them so they don't interact.Sphere
-trigger.applyImpulse
so they move into trigger.Is it only me, or has some one else also encounted this?
The text was updated successfully, but these errors were encountered: