SoundChannel:setWorldPosition

From GiderosMobile
Revision as of 08:26, 24 August 2018 by Hgy29 (talk | contribs)

Available since: in development

Description

Sets the position of this sound in a 3D world

 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 optional
vx: (number) X component of this sound's velocity optional
vy: (number) Y component of this sound's velocity optional
vz: (number) Z component of this sound's velocity optional