mirror of https://github.com/McSinyx/palace
Fulfilling change request on coordinate system
This commit is contained in:
parent
928ab876ea
commit
e5f9a85bce
|
@ -28,9 +28,13 @@ but first, we have to enable spatialization via :py:attr:`Source.spatialize`.
|
||||||
|
|
||||||
Now, we can set the position of the source in this virtual 3D space.
|
Now, we can set the position of the source in this virtual 3D space.
|
||||||
The position is a 3-tuple indicating the coordinate of the source.
|
The position is a 3-tuple indicating the coordinate of the source.
|
||||||
: x is for left-right, y is for up-down,
|
The axes are aligned according to the normal coordinate system:
|
||||||
and z is for back-forth.
|
|
||||||
For example, this will set the source above you:
|
- x axis goes from left to right
|
||||||
|
- y axis goes from below to above
|
||||||
|
- z axis goes from front to back
|
||||||
|
|
||||||
|
For example, this will set the source above the listener:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue