Contents

PhysicsJointsComponent

A component that stores physics joints which RealityKit simulates.

Declaration

struct PhysicsJointsComponent

Overview

Add this component to an entity, or any child of an entity, that has a PhysicsSimulationComponent. All joints in the PhysicsJointsComponent need to reference entities under the same PhysicsSimulationComponent tree.

Add a joint to the correct PhysicsJointsComponent instance by calling its PhysicsJoint/addToSimulation()-886c4 method.

Topics

Initializers

Instance Properties

See Also

Pin and joint components