platformer - v1.0.0
Preparing search index...
game/wrappers/RigidBody
RigidBodyProps
Interface RigidBodyProps
Props for
RigidBody
.
interface
RigidBodyProps
{
gravityScale
?:
number
;
maxFallSpeed
?:
number
;
type
:
"dynamic"
|
"kinematic"
;
}
Index
Properties
gravity
Scale?
max
Fall
Speed?
type
Properties
Optional
gravity
Scale
gravityScale
?:
number
Gravity multiplier.
Optional
max
Fall
Speed
maxFallSpeed
?:
number
Maximum fall velocity.
type
type
:
"dynamic"
|
"kinematic"
Physics body type.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
gravity
Scale
max
Fall
Speed
type
platformer - v1.0.0
Loading...
Props for RigidBody.