s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
CharacterControllerHelper
chevron_left
Classes
struct
CharacterControllerHelper
search
Constructors
functions
CharacterControllerHelper
Fields
crop_din
Bounce
crop_din
MaxStandableAngle
crop_din
Position
crop_din
Trace
crop_din
Velocity
Methods
functions
TraceFromTo
functions
TraceMove
functions
TryMove
functions
TryMoveWithStep
CharacterControllerHelper
struct
Sandbox
.
sealed
Sandbox.Engine
build
Constructors
1
CharacterControllerHelper
(
trace
,
position
,
velocity
)
crop_din
Fields
5
Bounce
float
MaxStandableAngle
float
Position
Vector3
Trace
SceneTrace
Velocity
Vector3
functions
Methods
4
TraceFromTo
(
start
,
end
)
SceneTraceResult
Trace this from one position to another
TraceMove
(
delta
)
SceneTraceResult
Move our position by this delta using trace. If we hit something we'll stop, we won't slide across it nicely like TryMove does.
TryMove
(
timestep
)
float
Try to move to the position. Will return the fraction of the desired velocity that we traveled. Position and Velocity will be what we recommend using.
TryMoveWithStep
(
timeDelta
,
stepsize
)
float
Like TryMove but will also try to step up if it hits a wall
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.