::hwat::core::AlignPassengerDummyAlongZAxis

Translates the PASSENGER dummy along the z axis and aligns its head or chest with the max z of the module, as required.

Syntax

AlignPassengerDummyAlongZAxis dummySystemId ModuleMaxZ option [headNode] [chestNode].

Arguments

dummySystemId
The ID of the dummy root system.
ModuleMaxZ
The max z coordinate of the module returned by the FindAirBagDimensions function.
option
Either 1 or 2
1 - Head on module
2 - Chest on module
headNode
The ID of the head node. Required only for option 1.
Default = ""
chestNode
The ID of the chest node. Required only for option 2.
Default = ""

Returns

Success
1
Failure
{}

Example

::hwat::core::AlignPassengerDummyAlongZAxis 1234 1578.99 1 2132

Comments

Required for OOP dummy positioning.