Page MenuHomeFeedback Tracker

attachTo in VBS2 provides collision detection and other functionality
New, WishlistPublic


attachTo in VBS2 is so rich in functionality, sporting collision detection and rope physics. Instead of the rope functions in TKOH, please port VBS2's attachTo to Arma 3.

Syntax: child attachTo [parent,offset,mempoint,rope,bone,collisions]

rope: Number or Boolean - (optional, default: false). Can be:
0 or false: The attachment will be rigid, meaning obj1 will be fixed in position relative to obj2.
1 or true: The attachment will be done via a flexible rope, allowing obj1 to swing about.
2: The object will be attached via an inflexible link (like a tow bar, with pivots on each end).
3: The object will be attached via a horizontal rope (to simulate towing). If the model has a memory point "attachRope" then the rope will be attached to this point.
bone: String - Name of bone to be attached to on target object. The referenced bone must be of LOD "Memory", "Geometry" or "Fire". (optional, available from 1.24 on)
collisions: Boolean - Whether collisions for attached object should be enabled (optional, default: false, V1.40+)

Syntax: Object attachTo [TObject, Offset, MemPoint]


Legacy ID

Event Timeline

cyckuan edited Steps To Reproduce. (Show Details)Jan 22 2014, 12:56 PM
cyckuan edited Additional Information. (Show Details)
cyckuan set Category to Scripting.
cyckuan set Reproducibility to N/A.
cyckuan set Severity to None.
cyckuan set Resolution to Open.
cyckuan set Legacy ID to 262310136.May 7 2016, 5:48 PM

Totally agree, but I think the reason why they have not added it yet is because of PhysX

See the message by Astaroth.