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
SliderJoint
chevron_left
Classes
class
SliderJoint
Constructors
functions
SliderJoint
Properties
data_object
DampingRatio
data_object
Frequency
data_object
Friction
data_object
LimitEnabled
data_object
MaxForce
data_object
MaxLength
data_object
MinLength
data_object
Motor
data_object
TargetPosition
data_object
TargetVelocity
SliderJoint
Restrict an object to one axis, relative to another object. Like a drawer opening.
class
Sandbox
.
account_tree
extends
Joint
sealed
Sandbox.Engine
build
Constructors
1
SliderJoint
(
)
data_object
Properties
10
DampingRatio
float
Position spring damping ratio.
Frequency
float
Position spring frequency in hertz.
Friction
float
Slider friction
LimitEnabled
Nullable`1
Explicit limit state. Null retains automatic limits from the length range.
MaxForce
float
Maximum force the velocity motor may apply.
MaxLength
float
Maximum length it should be allowed to go
MinLength
float
Minimum length it should be allowed to go
Motor
MotorMode
Chooses friction, a position spring, or a velocity motor.
TargetPosition
float
Target offset along the slider axis.
TargetVelocity
float
Target speed along the slider axis, in units per second.
Inheritance
Component
Joint
SliderJoint
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.