Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

CapsuleCollider properties not aligned with Unity capsule collider component #244

@aljosic

Description

@aljosic

There's this diff between how MRE and Unity look at capsule colliders. MRE says a capsule collider has a Vector3 size and then pulls out Height and Direction according to relations of components of that vector, assuming that height is always bigger than radius and Direction always being the index of the biggest component of that vector. I believe this leads to unwanted behavior when initializing colliders.

Should this be more aligned to how Unity treats it, Direction being an axis, height a float along that axis, and radius being perpendicular to it ?

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