API

Interface CharacterShapeOptions

Shape properties for the character controller

interface CharacterShapeOptions {
    capsuleHeight?: number;
    capsuleRadius?: number;
    shape?: PhysicsShape;
}
Index
capsuleHeight?: number

capsule height for the capsule shape if no shape is provided

capsuleRadius?: number

capsule radius for the capsule shape if no shape is provided

shape?: PhysicsShape

optional shape used for collision detection