View on GitHub

ezEngine Documentation

The documentation for ezEngine

PhysX Capsule Shape Component

The PhysX capsule shape component adds a capsule as a shape to the PhysX actor that is attached to the closest parent node.

Capsule Shape

You can attach this component to the same node where the actor component is attached, or you can create a child object to attach it to, which allows you to position the shape relative to the actor.

Capsules are relatively efficient for the physics engine to handle. Prefer them over the convex shape component when possible. For long thin objects, especially static collision geometry, capsules may also be more efficient and yield better results, than box shapes.

Component Properties

See Also