@:value({ group : 1, animated : false, collisionMargin : 0.0, restitution : 0.0, friction : 0.5, jumpSpeed : 8.0, shape : ControllerShape.Capsule, mass : 1.0 })new(mass:Float = 1.0, shape:ControllerShape = ControllerShape.Capsule, jumpSpeed:Float = 8.0, friction:Float = 0.5, restitution:Float = 0.0, collisionMargin:Float = 0.0, animated:Bool = false, group:Int = 1)
animated:Bool
@:value(null)body:PairCachingGhostObject = null
@:value(null)character:KinematicCharacterController = null
collisionMargin:Float
friction:Float
@:value(1)group:Int = 1
@:value(0)id:Int = 0
mass:Float
physics:PhysicsWorld
@:value(false)ready:Bool = false
restitution:Float
@:value(null)transform:Transform = null
@:value(null)onReady:() ‑> Void = null
activate():Void
canJump():Bool
disableGravity():Void
enableGravity():Void
getMaxSlope():Float
@:has_untypedinit():Void
jump():Void
notifyOnReady(f:() ‑> Void):Void
onGround():Bool
removeFromWorld():Void
setActivationState(newState:Int):Void
setFallSpeed(fallSpeed:Float):Void
setFriction(f:Float):Void
setGravity(f:Float):Void
setJumpSpeed(jumpSpeed:Float):Void
setMaxJumpHeight(maxJumpHeight:Float):Void
setMaxSlope(slopeRadians:Float):Void
setUpInterpolate(value:Bool):Void
setWalkDirection(walkDirection:Vec4):Void
syncTransform():Void
@:value("")name:String = ""
object:Object
Object this trait belongs to.
notifyOnAdd(f:() ‑> Void):Void
Trait is added to an object.
notifyOnInit(f:() ‑> Void):Void
Object which this trait belongs to is added to scene.
notifyOnLateUpdate(f:() ‑> Void):Void
Add late game logic handler.
notifyOnRemove(f:() ‑> Void):Void
Object which this trait belongs to is removed from scene.
notifyOnRender(f:Graphics ‑> Void):Void
Add render handler.
notifyOnRender2D(f:Graphics ‑> Void):Void
Add 2D render handler.
notifyOnUpdate(f:() ‑> Void):Void
Add game logic handler.
remove():Void
Remove the trait from the object.
removeLateUpdate(f:() ‑> Void):Void
Remove late game logic handler.
removeRender(f:Graphics ‑> Void):Void
Remove render handler.
removeRender2D(f:Graphics ‑> Void):Void
Remove 2D render handler.
removeUpdate(f:() ‑> Void):Void
Remove game logic handler.