s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Components
MoveMode
StickToGround
chevron_left Components
class
MoveMode

Constructors

lockMoveMode

Properties

data_objectAllowFallingdata_objectAllowGroundingdata_objectControllerlockSmoothInput

Methods

functionsAddVelocityfunctionsCalculateEyeTransformfunctionsIsStandableSuracefunctionsIsStandableSurfacefunctionsModifyCamerafunctionsOnJumpfunctionsOnModeBeginfunctionsOnModeEndlockOnRotateRenderBodylockOnUpdateAnimationGraphlockOnUpdateAnimatorLookDirectionlockOnUpdateAnimatorStatelockOnUpdateAnimatorVelocityfunctionsPostPhysicsStepfunctionsPrePhysicsStepfunctionsScorelockStickToGroundlockTrySteppingUpfunctionsUpdateAnimatorremove_circleUpdateCamerafunctionsUpdateMovefunctionsUpdateRigidBody

Static Methods

lockSetAnimatorParameter
StickToGround
If we're on the ground, make sure we stay there by falling to the ground
method
void StickToGround (float maxDistance)

Parameters

NameTypeDescription
maxDistance float
Declared in Sandbox.Movement.MoveMode ยท Assembly Sandbox.Engine
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter