Version

    Other Documentation

menu_open
Wwise SDK 2018.1.11

◆ SetPosition()

AKRESULT __cdecl AK::SoundEngine::SetPosition ( AkGameObjectID  in_GameObjectID,
const AkSoundPosition in_Position 
)

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.
See also
Parameters
in_GameObjectID Game Object identifier
in_Position Position to set; in_Position.Orientation must be normalized.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

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