GetEquipmentPosition

Get the world coordinates of a given piece of equipment.

Function

Sym3Vec3 GetEquipmentPosition(equipmentName)

Parameters

  • equipmentName (string): The name of the equipment to lookup.

Return Value

Returns a Sym3Vec3. The coordinate will be from the origin of the 3D model. For basic shapes, this is the center base, but for more complicated models it can differ depending on how the model was created.