Version

menu_open
Wwise SDK 2023.1.5
ak.soundengine.setPosition

Sets the position of a game object. See AK::SoundEngine::SetPosition.

Arguments

Name Type Description
gameObject * integer Game Object identifier.
A game object ID, unsigned integer 64-bit. Range: [0,18446744073709551615]
position * object The 3D position to set for the game object.
position.orientationFront * object Orientation of the listener.
position.orientationFront.x * number X Position.
position.orientationFront.y * number Y Position.
position.orientationFront.z * number Z Position.
position.orientationTop * object Top orientation of the listener.
position.orientationTop.x * number X Position.
position.orientationTop.y * number Y Position.
position.orientationTop.z * number Z Position.
position.position * object Position of the listener
position.position.x * number X Position.
position.position.y * number Y Position.
position.position.z * number Z Position.

(Required *)

Arguments Schema

See Also

Examples

Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.


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