CharacterBody3D constructor
CharacterBody3D({})
A character 1.8 m tall and 0.3 m in radius, by default.
Implementation
CharacterBody3D({
this.radius = 0.3,
this.height = 1.8,
this.maxSlopeAngle = 0.8726646259971648,
this.stepHeight = 0.4,
this.stickToFloor = 0.5,
this.mass = 70.0,
this.pushStrength = 100.0,
this.gravityScale = 1.0,
this.useGravity = true,
this.layer = 0,
this.detectable = true,
});