Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RigidBody

Hierarchy

  • RigidBody

Implements

Index

Constructors

constructor

Accessors

angularVelocity

  • get angularVelocity(): object
  • set angularVelocity(value: Partial<Vector3>): void

collisionDetectionMode

constraints

detectCollisions

  • get detectCollisions(): boolean
  • set detectCollisions(value: boolean): void

mass

  • get mass(): number
  • set mass(value: number): void

position

  • get position(): object
  • set position(value: Partial<Vector3>): void

rotation

useGravity

  • get useGravity(): boolean
  • set useGravity(value: boolean): void

velocity

  • get velocity(): object
  • set velocity(value: Partial<Vector3>): void

Methods

addForce

addForceAtPosition

addRelativeTorque

  • addRelativeTorque(relativeTorque: Partial<Vector3Like>): void

addTorque

copyDirect

movePosition

moveRotation

toJSON