TruWorlds

CharacterController

Inherits: Model

Properties

AimDirection Vector3 read-only
AimPitch number
AimTarget Vector3 read-only
AimYaw number
Animator Animator? read-only
Armature Armature? read-only
AutoJumpEnabled boolean
AutoRunEnabled boolean
BodyCMatrix CMatrix
CurrentTool Tool?
FlyEnabled boolean
FlySpeedMultiplier number
Health number
JumpForce number
JumpHeight number
LoadCharacterAppearance boolean
MaxHealth number
MaxSlopeAngle number
MoveSpeed number
MoveVelocity Vector3
NameMaxDistance number
RollAfterTrip boolean
RunSpeed number
State CharacterControllerState read-only
StepHeight number
TiltBasedThreshold number
TitleText string
UsePlayerInput boolean

Functions

ActivateTool()
ComputePath(destination: Vector3) Returns any
Damage(amount: number)
DeactivateTool()
HybridPathTo(destination: Vector3)
IsMoveToFinished() Returns boolean
Jump()
Kill()
Move(direction: Vector3)
Move(direction: Vector3, relativeToCamera: boolean)
MoveStop()
MoveTo(target: Vector3)
PathStop()
PathTo(destination: Vector3)
Run()
Sit()
StandUp()
Trip()
Walk()

Signals

Damaged
Died
MoveToFinished boolean
PathBlocked boolean
PathCompleted boolean
PathToFinished boolean