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
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
BallJoint
chevron_left Classes
class
BallJoint

Constructors

functionsBallJoint

Properties

data_objectDampingRatiodata_objectFrequencydata_objectFrictiondata_objectMaxTorquedata_objectMotordata_objectSwingLimitdata_objectSwingLimitEnableddata_objectTargetRotationdata_objectTargetVelocitydata_objectTwistLimitdata_objectTwistLimitEnabled
menu
BallJoint
Fix two objects together but can rotate - like a shoulder.
class Sandbox .account_tree extends Joint
sealedSandbox.Engine

build Constructors 1

BallJoint ()

data_object Properties 11

DampingRatio
float
Damping of motor.
Frequency
float
Frequency of motor.
Friction
float
Joint friction.
MaxTorque
float
Maximum torque the motor can apply when in velocity mode.
Motor
MotorMode
Motor mode
SwingLimit
Vector2
The minimum and maximum swing angles allowed by the joint in degrees.
SwingLimitEnabled
bool
Enables or disables the swing limit.
TargetRotation
Rotation
Target angle of motor.
TargetVelocity
Vector3
Target angular velocity of the motor.
TwistLimit
Vector2
The minimum and maximum twist angles allowed by the joint in degrees.
TwistLimitEnabled
bool
Enables or disables the twist limit.

Inheritance

Component
Joint
BallJoint
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