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
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
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
input
Log 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.