Version
menu

Wwise SDK 2025.1.0
AkCmd_SetPosition Struct Reference

#include <AkCommandTypes.h>

Public Attributes

AkGameObjectID gameObjectID
 Game Object ID. More...
 
struct AkWorldTransform position
 Game object position. More...
 
AkUInt32 flags
 See AkSetPositionFlags. More...
 

Detailed Description

Sets the position of a game object.

Warning
The object's orientation vectors (position.orientationFront and position.orientationTop) must be normalized.

This command can fail for the following reasons:

  • AK_InvalidParameter: gameObjectID is outside the valid range, or position is not a valid transform.
  • AK_IDNotFound: gameObjectID is not a registered game object ID.
See also

Definition at line 265 of file AkCommandTypes.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise