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
Components
VerletRope
chevron_left Components
class
VerletRope

Constructors

functionsVerletRope

Properties

data_objectAttachmentdata_objectDampingFactordata_objectLengthOverridedata_objectLinkedRendererdata_objectRadiusdata_objectSegmentCountdata_objectSlackdata_objectSoftBendFactordata_objectStiffness

Methods

lockOnDestroylockOnEnabledlockOnUpdate
VerletRope
Verlet integration-based rope physics simulation component.
class Sandbox .account_tree extends Component
Sandbox.Engine

build Constructors 1

VerletRope ()

data_object Properties 9

Attachment
GameObject
The GameObject the end of the rope attaches to.
DampingFactor
float
Dampens rope movement. Higher values make the rope settle faster.
LengthOverride
float
Controls the rope's length directly, will override the initial length and slack will not be applied. When set to 0, the rope's initial length between attachment points is used.
LinkedRenderer
LineRenderer
The LineRenderer used to visualize the rope.
Radius
float
Radius of the rope for collision detection.
SegmentCount
int
Number of segments in the rope. Higher values increase visual fidelity and collision accuracy but quickly reduce performance.
Slack
float
Additional slack, added to the rope length.
SoftBendFactor
float
Controls how easily the rope bends. Lower values allow more bending, higher values make it stiffer.
Stiffness
float
Rope stiffness factor. Higher values make the rope more rigid.

functions Methods 3

OnDestroy ()
OnEnabled ()
OnUpdate ()

Inheritance

Component
VerletRope
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