Version

menu_open
Wwise SDK 2024.1.1
ak.soundengine.setMultiplePositions

Sets multiple positions for a single game object. Setting multiple positions for a single game object is a way to simulate multiple emission sources while using the resources of only one voice. This can be used to simulate wall openings, area sounds, or multiple objects emitting the same sound in the same area. See AK::SoundEngine::SetMultiplePositions.

Arguments

Name Type Description
gameObject * integer Game Object identifier.
A game object ID, unsigned integer 64-bit. Range: [0,18446744073709551615]
positions * array Array of positions to apply.
positions [...] object Position
positions[...].position * object A 3D position to set for the game object.
positions[...].position.orientationFront * object Orientation of the listener.
positions[...].position.orientationFront.x * number X Position.
positions[...].position.orientationFront.y * number Y Position.
positions[...].position.orientationFront.z * number Z Position.
positions[...].position.orientationTop * object Top orientation of the listener.
positions[...].position.orientationTop.x * number X Position.
positions[...].position.orientationTop.y * number Y Position.
positions[...].position.orientationTop.z * number Z Position.
positions[...].position.position * object Position of the listener
positions[...].position.position.x * number X Position.
positions[...].position.position.y * number Y Position.
positions[...].position.position.z * number Z Position.
multiPositionType * integer Uses values from AK::SoundEngine::MultiPositionType. Range: [0,2]

(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