build Constructors 1

functions Methods 20

AddVelocity ()
CalculateEyeTransform ()
Transform
Get the position of the player's eye
IsStandableSurace (result)
bool
IsStandableSurface (result)
bool
ModifyCamera (view)
Reshape the player's view while this mode is active - swimming tilt, ladder lean, sitting offsets. Runs inside the PlayerController's camera stage, right after it writes the base view, so modes don't need to join the camera's modifier chain themselves. Base does nothing.
OnModeBegin ()
This mode has just started
OnModeEnd (next)
This mode has stopped. We're swapping to another move mode.
OnRotateRenderBody (renderer)
Updates the Sandbox.Component.WorldRotation of .
OnUpdateAnimatorLookDirection (renderer)
Set animation parameters on to look towards Sandbox.Movement.MoveMode.CalculateEyeTransform.
OnUpdateAnimatorState (renderer)
Sets animation parameters on describing the movement style, like swimming, falling, or ducking.
OnUpdateAnimatorVelocity (renderer)
Sets animation parameters on based on the current Sandbox.PlayerController.Velocity and Sandbox.PlayerController.WishVelocity.
PostPhysicsStep ()
Called after the physics step is run
PrePhysicsStep ()
Called before the physics step is run
Score (controller)
int
Highest number becomes the new control mode
StickToGround (maxDistance)
If we're on the ground, make sure we stay there by falling to the ground
TrySteppingUp (maxDistance)
If we're approaching a step, step up if possible
UpdateAnimator (renderer)
Update the animator which is available at Controller.Renderer.
UpdateCamera (cam)
obsolete
Called to update the camera each frame
UpdateMove (eyes, input)
Vector3
Read inputs, return WishVelocity
UpdateRigidBody (body)

Inheritance

people
Log in to reply
You can't reply if you're not logged in. That would be crazy.