Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / PhysicsState

Type Alias: PhysicsState

ts
type PhysicsState = {
  rigidbody: RigidbodyState;
  collider: ColliderState;
};

Defined in: components/Physics.ts:165

Combined authoring state for PhysicsComponent. Saved with the project.

Properties

PropertyTypeDescriptionDefined in
rigidbodyRigidbodyStateRigid body settings.components/Physics.ts:167
colliderColliderStateCollider settings.components/Physics.ts:169