|
Engine²
Open-source game engine written in C++.
|
Capsule-shaped collider (cylinder with hemispherical caps).
Capsule-shaped collider (cylinder with hemispherical caps)Explicit capsule collider that users can add to customize collision shape. If present on an entity with RigidBody, overrides the automatic mesh-based collision.
A capsule is defined as a line segment with a radius, creating a shape that looks like a cylinder with rounded (hemispherical) ends.
The capsule is oriented along the Y-axis by default:
Total height = 2 * halfHeight + 2 * radius
Common uses:
usage for a character capsule