View on GitHub

ezEngine Documentation

The documentation for ezEngine

PhysX Sphere Shape Component

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

Sphere 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.

Spheres are very efficient for the physics engine to handle. Therefore you should prefer them over all other shapes, especially convex shapes, when you can approximate the geometry of an object with one or a couple sphere shapes.

Component Properties

See Also