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
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
SpringJoint
chevron_left
Classes
class
SpringJoint
search
Constructors
functions
SpringJoint
Properties
data_object
Damping
data_object
ForceMode
data_object
Frequency
data_object
MaxLength
data_object
MinLength
data_object
RestLength
menu
SpringJoint
Try to keep an object a set distance away from another object. Like a spring connecting two objects.
class
Sandbox
.
account_tree
extends
Joint
sealed
Sandbox.Engine
build
Constructors
1
SpringJoint
(
)
data_object
Properties
6
Damping
float
The damping ratio of the spring, usually between 0 and 1
ForceMode
SpringForceMode
Determines which way the spring applies force. Pull = only when stretched, Push = only when compressed, Both = acts in both directions.
Frequency
float
The stiffness of the spring
MaxLength
float
Maximum length it should be allowed to go
MinLength
float
Minimum length it should be allowed to go
RestLength
float
Length of the spring at rest.
Inheritance
Component
Joint
SpringJoint
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.