BIS_fnc_attachToRelative
- Local argument
- Global effect
- Arma 3 v1.64
Function · Markdown · JSON · original wiki page
Description
Attaches an object to another, preserving their relative position and orientation.
Syntax
[attachedObject, destinationObject, visual] call BIS_fnc_attachToRelative
Parameters:
attachedObject: ObjectdestinationObject: Objectvisual: Boolean (Optional, default true) if true render scope is used else simulation scope. See Simulation vs Render Time Scope for more information
Returns: Nothing
Examples
Example 1
[player, car] call BIS_fnc_attachToRelative;
See also
BIS_fnc_weaponDirectionRelative · BIS_fnc_vectorDirAndUpRelative · attachTo