Skip to main content
Skip to main content

setCenterOfMass

setCenterOfMass

Description

Set center of mass (only for dynamic physics objects)

Definition

setCenterOfMass(entityId transformId, float x, float y, float z)

Arguments

entityIdtransformIdtransformId
floatxx
floatyy
floatzz