Interface CharacterSurfaceInfo
interface CharacterSurfaceInfo {
averageAngularSurfaceVelocity: Vec3;
averageSurfaceNormal: Vec3;
averageSurfaceVelocity: Vec3;
isSurfaceDynamic: boolean;
supportedState: CharacterSupportedState;
}
averageAngularSurfaceVelocity: Vec3;
averageSurfaceNormal: Vec3;
averageSurfaceVelocity: Vec3;
isSurfaceDynamic: boolean;
supportedState: CharacterSupportedState;
}
Properties
average Angular Surface Velocity
Average angular velocity induced by the supporting surfaces.
average Surface Normal
Average normal of the supporting surfaces (world space).
average Surface Velocity
Average linear velocity induced by the supporting surfaces.
is Surface Dynamic
isSurfaceDynamic: boolean
Whether the supporting surface belongs to a dynamic (simulated) body.
supported State
Whether the character is unsupported, sliding, or supported.
Surface information returned by PhysicsCharacterController.checkSupport.