s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
VerletRope
chevron_left
Components
class
VerletRope
search
Constructors
functions
VerletRope
Properties
data_object
Attachment
data_object
DampingFactor
data_object
LengthOverride
data_object
LinkedRenderer
data_object
Radius
data_object
SegmentCount
data_object
Slack
data_object
SoftBendFactor
data_object
Stiffness
Methods
lock
OnDestroy
lock
OnEnabled
lock
OnUpdate
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.