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
PhysicsJoint
CreateSlider
chevron_left
Classes
class
PhysicsJoint
Properties
data_object
AngularStrength
data_object
Body1
data_object
Body2
data_object
Collisions
remove_circle
IsActive
data_object
IsValid
data_object
Point1
data_object
Point2
data_object
Strength
data_object
World
Methods
functions
Remove
Static Methods
functions
CreateBallSocket
functions
CreateControl
functions
CreateFilter
functions
CreateFixed
functions
CreateHinge
functions
CreateLength
remove_circle
CreatePulley
functions
CreateSlider
functions
CreateSpring
functions
CreateUpright
CreateSlider
Creates a slider constraint between two physics bodies via Sandbox.Physics.PhysicsPoints.
method
static
2 overloads
Overloads
1
2
static
SliderJoint
CreateSlider
(
PhysicsPoint
a
,
PhysicsPoint
b
,
float
minLength
,
float
maxLength
)
Parameters
Name
Type
Description
a
PhysicsPoint
b
PhysicsPoint
minLength
float
maxLength
float
Returns
Type
Description
SliderJoint
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.