s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
HingeJointBuilder
chevron_left Classes
class
HingeJointBuilder

Properties

data_objectEnableMotordata_objectEnableTwistLimitdata_objectMaxTorquedata_objectTargetVelocitydata_objectTwistLimit

Methods

functionsWithMaxTorquefunctionsWithTargetVelocityfunctionsWithTwistLimit
HingeJointBuilder
Provides ability to generate a hinge joint for a Sandbox.Model at runtime.
class Sandbox .account_tree extends PhysicsJointBuilder
sealedSandbox.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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter