Source:setPose

Sets the position and orientation of the Source.

Source:setPose(x, y, z, angle, ax, ay, az)

Arguments

NameTypeDescription
xnumberThe x position of the Source, in meters.
ynumberThe y position of the Source, in meters.
znumberThe z position of the Source, in meters.
anglenumberThe number of radians the Source is rotated around its axis of rotation.
axnumberThe x component of the axis of rotation.
aynumberThe y component of the axis of rotation.
aznumberThe z component of the axis of rotation.

Returns

Nothing

See also