Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.4.8496 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
|
◆ SetPosition()
Sets the position of a game object. - Warning
- The object's orientation vector (in_Position.Orientation) must be normalized.
- Returns
AK_Success when successful
AK_InvalidParameter if parameters are not valid, for example:
- in_Position makes an invalid transform
- in_eFlags is not one of the valid enum values
- the game object ID is in the reserved ID range.
- See also
-
- Parameters
-
in_GameObjectID | Game Object identifier |
in_Position | Position to set; in_Position.Orientation must be normalized. |
in_eFlags | Optional flags to independently set the position of the emitter or listener component. |
|
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise