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
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter