s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams

Game Jam III

Starts Fri 4 Sep
Theme

Theme revealed when the jam starts.

£50,000
prizepool
Read more
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
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
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter