Table of Contents

SoundChannel:setWorldPosition

Available since version: in development

Description:

Sets the position of this sound in a 3D world

Syntax:

SoundChannel:setWorldPosition(x, y [, z, vx, vy, vz])

Parameters:

  • x: (number) X coordinate of this sound
  • y: (number) Y coordinate of this sound
  • z: (number) Z coordinate of this sound
  • vx: (number) X component of this sound's velocity
  • vy: (number) Y component of this sound's velocity
  • vz: (number) Z component of this sound's velocity