Skip to content

Class: ComponentRigidBody

Methods

NameDescription
:activate()
:isActive()

Fields

NameTypeDescription
angularVelocityVector3f
linearVelocityVector3f
massnumber
scalenumber

Method declarations

Method: activate

lua
function ComponentRigidBody:activate() end

Method: isActive

lua
function ComponentRigidBody:isActive() end

Returns:

  • boolean

Field declarations

Field: angularVelocity

Type: Vector3f

Field: linearVelocity

Type: Vector3f

Field: mass

Type: number

Field: scale

Type: number