ecs.physics
Properties
Component | Description |
---|---|
ColliderShape | ColliderShape. |
Functions
Function | Description |
---|---|
applyForce | Apply force. |
applyTorque | Apply torque. |
applyImpulse | Apply impulse. |
getLinearVelocity | Get linear velocity. |
setLinearVelocity | Set linear velocity. |
setWorldGravity | Set world gravity. |
getWorldGravity | Get world gravity. |
registerConvexShape | Register convex shape. |
unregisterConvexShape | Unregister convex shape. |
Events
Event | Description |
---|---|
COLLISION_START_EVENT | Collision start. |
COLLISION_END_EVENT | Collision end. |