Skip to main content

Damageable

Instance Methods

Inherited Methods

From GameObject:

GameObject:GetPosition(): vec3

Returns the position of the game object.

GameObject:GetRotation(): quat

Returns the rotation of the game object.

GameObject:GetEulerRotation(): vec3

Returns the euler rotation of the game object.

Class Methods

Damageable:GetHP(): number

Returns the health of the damageable.