isOnGround
TypeScriptget isOnGround(): booleanSwift declarationlet isOnGround: BoolA Boolean value that indicates whether the character controller is on the ground.
struct · iOS 15.0+ · SDK 27.1
struct CharacterControllerStateComponentA component that represents the state of a character controller. RealityKit adds this component to an entity when you add a ``CharacterControllerComponent`` instance to it. Manually adding this component to an entity that has a character controller component has no effect because it's redundant.
get isOnGround(): booleanSwift declarationlet isOnGround: BoolA Boolean value that indicates whether the character controller is on the ground.
get velocity(): SDKHandleSwift declarationlet velocity: SIMD3<Float>The linear speed relative to the origin in physics space.
static init(): CharacterControllerStateComponentSwift declarationinit()No declarations were skipped in this snapshot.