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
UprightJoint
chevron_left
Classes
class
UprightJoint
search
Constructors
functions
UprightJoint
Properties
data_object
DampingRatio
data_object
Hertz
data_object
MaxTorque
UprightJoint
Constrains a physics body to stay upright relative to another body or the world. Uses a spring to keep the Z-axes of both bodies parallel.
class
Sandbox
.
account_tree
extends
Joint
sealed
Sandbox.Engine
build
Constructors
1
UprightJoint
(
)
data_object
Properties
3
DampingRatio
float
Spring damping ratio (non-dimensional). A value of 1 is critically damped; values below 1 are springy, values above 1 are over-damped.
Hertz
float
Spring stiffness in cycles per second (Hertz). Higher values make the joint stiffer and snap back faster.
MaxTorque
float
Maximum torque the joint can apply in newton-meters. Set to 0 for unlimited torque.
Inheritance
Component
Joint
UprightJoint
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.