s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
MoveModeWalk
chevron_left
Classes
class
MoveModeWalk
Constructors
functions
MoveModeWalk
Properties
data_object
AirAcceleration
data_object
AirSpeedCap
data_object
AllowFalling
data_object
AllowGrounding
data_object
BunnyHopRecoveryTime
data_object
EnableAirStrafing
data_object
EnableBunnyHopping
data_object
Friction
data_object
GroundAcceleration
data_object
GroundAngle
data_object
JumpMomentumRetention
data_object
MaxVelocity
data_object
Priority
lock
SmoothInput
data_object
StepDownHeight
data_object
StepUpHeight
data_object
StopSpeed
Methods
functions
AddVelocity
functions
CalculateEyeTransform
functions
IsStandableSurface
functions
OnModeEnd
functions
PostPhysicsStep
functions
PrePhysicsStep
functions
Score
functions
UpdateMove
functions
UpdateRigidBody
MoveModeWalk
class
Sandbox.Movement
.
account_tree
extends
MoveMode
Sandbox.Engine
build
Constructors
1
MoveModeWalk
(
)
data_object
Properties
17
AirAcceleration
float
AirSpeedCap
float
Wish-direction speed cap; turning can still build total speed.
AllowFalling
bool
AllowGrounding
bool
BunnyHopRecoveryTime
float
Grounded seconds required when bunny hopping is disabled. Early requests are discarded.
EnableAirStrafing
bool
Allow input-driven acceleration while airborne.
EnableBunnyHopping
bool
Allow immediate repeat jumps and takeoff speeds above RunSpeed.
Friction
float
Ground friction, scaled by BrakePower.
GroundAcceleration
float
GroundAngle
float
JumpMomentumRetention
float
Fraction of ground-relative horizontal speed retained by a walking jump.
MaxVelocity
float
Per-axis velocity limit, not a total speed cap.
Priority
int
SmoothInput
bool
StepDownHeight
float
StepUpHeight
float
StopSpeed
float
Minimum speed used to calculate ground friction.
functions
Methods
9
AddVelocity
(
)
CalculateEyeTransform
(
)
Transform
IsStandableSurface
(
result
)
bool
OnModeEnd
(
next
)
PostPhysicsStep
(
)
PrePhysicsStep
(
)
Score
(
controller
)
int
UpdateMove
(
eyes
,
input
)
Vector3
UpdateRigidBody
(
body
)
Inheritance
Component
MoveMode
MoveModeWalk
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.