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

Constructors

lockPhysicsJointBuilder

Properties

data_objectAngularStrengthdata_objectBody1data_objectBody2data_objectEnableCollisiondata_objectFrame1data_objectFrame2data_objectLinearStrength
PhysicsJointBuilder
Provides ability to generate a physics joint for a Sandbox.Model at runtime.
class Sandbox .
abstractSandbox.Engine

build Constructors 1

PhysicsJointBuilder ()

data_object Properties 7

AngularStrength
float
The maximum angular force/torque the joint can withstand before breaking.
Body1
int
The index of the first body connected by the joint.
Body2
int
The index of the second body connected by the joint.
EnableCollision
bool
Whether the connected bodies can collide with each other.
Frame1
Transform
The joint frame in the local space of Sandbox.PhysicsJointBuilder.Body1.
Frame2
Transform
The joint frame in the local space of Sandbox.PhysicsJointBuilder.Body2.
LinearStrength
float
The maximum linear force the joint can withstand before breaking.

Inheritance

PhysicsJointBuilder
BallJointBuilder
FixedJointBuilder
HingeJointBuilder
SliderJointBuilder
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