Type Alias: RigidBodyProps
RigidBodyProps:
object&object|object
Type declaration
activationState?
optionalactivationState:ActivationState
collisionCallback?
optionalcollisionCallback:CollisionCallback
damping?
optionaldamping: [number,number]
[linearDumping, angularDumping]
friction?
optionalfriction:number
id
id:
string
mass
mass:
number
shape
shape:
BaseShape
world?
optionalworld:DiscreteDynamicWorld
If you supply world the rigid body will be added to the world on mount and removed on unmount.