Boks2D
Toggle table of contents
0.1.1
common
Target filter
common
Switch theme
Search in API
Skip to content
Boks2D
Boks2D
/
io.github.joaomcl.boks2d.shapes
/
Shape
/
setDensity
set
Density
expect
fun
setDensity
(
density
:
Float
,
updateBodyMass
:
Boolean
=
true
)
Set the density with control over body mass update.