CharacterSettings3D constructor
CharacterSettings3D({})
A character 1.8 m tall and 0.3 m in radius, by default.
Implementation
CharacterSettings3D({
this.radius = 0.3,
this.halfHeight = 0.6,
Vector3? up,
this.maxSlopeAngle = 0.8726646259971648,
this.mass = 70,
this.maxStrength = 100,
this.layer = 0,
this.innerBody = true,
this.userData = 0,
}) : up = up ?? Vector3(0, -1, 0);