s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
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
UprightJoint
chevron_left
Classes
class
UprightJoint
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.