klyph
Toggle table of contents
1.4.0
native
Target filter
native
Switch theme
Search in API
Skip to content
klyph
klyph-physics
/
klyph.physics
/
PhysicsConfig
/
PhysicsConfig
Physics
Config
constructor
(
gravity
:
Vec2
=
Vec2(0f, 1500f)
,
substeps
:
Int
=
4
,
iterations
:
Int
=
6
,
damping
:
Float
=
0.24f
,
maxStep
:
Float
=
4.0f
,
cellSize
:
Float
=
Broadphase.AUTO
,
bounceSpeed
:
Float
=
40.0f
,
timeToSleep
:
Duration
=
500.milliseconds
,
sleepSpeed
:
Float
=
5.0f
)
(
source
)