Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ActiveCollisionTypes.ALL missing an enum #293

Open
amoffat opened this issue Nov 2, 2024 · 0 comments
Open

ActiveCollisionTypes.ALL missing an enum #293

amoffat opened this issue Nov 2, 2024 · 0 comments

Comments

@amoffat
Copy link

amoffat commented Nov 2, 2024

ALL does not include FIXED_FIXED. Related to dimforge/rapier#407 (comment)

FIXED_FIXED = 0b0000_0000_0010_0000,
/**
* The default active collision types, enabling collisions between a dynamic body
* and another body of any type, but not enabling collisions between two non-dynamic bodies.
*/
DEFAULT = DYNAMIC_KINEMATIC | DYNAMIC_DYNAMIC | DYNAMIC_FIXED,
/**
* Enable collisions between any kind of rigid-bodies (including between two non-dynamic bodies).
*/
ALL = DYNAMIC_KINEMATIC |
DYNAMIC_DYNAMIC |
DYNAMIC_FIXED |
KINEMATIC_KINEMATIC |
KINEMATIC_FIXED |
KINEMATIC_KINEMATIC,
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant