Skip to content

ActiveCollisionTypes.ALL missing an enum #293

@amoffat

Description

@amoffat

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,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions