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
HingeJointBuilder
chevron_left
Classes
class
HingeJointBuilder
search
Properties
data_object
EnableMotor
data_object
EnableTwistLimit
data_object
MaxTorque
data_object
TargetVelocity
data_object
TwistLimit
Methods
functions
WithMaxTorque
functions
WithTargetVelocity
functions
WithTwistLimit
HingeJointBuilder
Provides ability to generate a hinge joint for a Sandbox.Model at runtime.
class
Sandbox
.
account_tree
extends
PhysicsJointBuilder
sealed
Sandbox.Engine
data_object
Properties
5
EnableMotor
bool
Whether the hinge's angular motor is enabled.
EnableTwistLimit
bool
Whether the hinge enforces a twist angle limit.
MaxTorque
float
Maximum torque the motor may apply.
TargetVelocity
Vector3
Target angular velocity for the motor.
TwistLimit
Vector2
The minimum and maximum allowed twist angles (degrees).
functions
Methods
3
WithMaxTorque
(
v
)
HingeJointBuilder
WithTargetVelocity
(
v
)
HingeJointBuilder
WithTwistLimit
(
min
,
max
)
HingeJointBuilder
Inheritance
PhysicsJointBuilder
HingeJointBuilder
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.