add velocity doc to emitter/listener
continuous-integration/drone/push Build is passing Details

main
cosmonaut 2021-03-17 21:07:21 -07:00
parent 3c2e5b81d7
commit 7f53dbec7a
1 changed files with 2 additions and 0 deletions

View File

@ -61,10 +61,12 @@ var audioListener = new AudioListener(AudioDevice);
audioEmitter.Position = thingPosition;
audioEmitter.Forward = thingForward;
audioEmitter.Up = thingUp;
audioEmitter.Velocity = thingVelocity;
audioListener.Position = cameraPosition;
audioListener.Forward = cameraForward;
audioListener.Up = cameraUp;
audioListener.Velocity = cameraVelocity;
thingSound.Apply3D(audioListener, audioEmitter);
```