GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.35k stars 1.2k forks source link

OpenAL SFX should be relative to "ear" bone #2351

Open theblooopz opened 5 years ago

theblooopz commented 5 years ago

just in case it's not, this is a note.

theblooopz commented 5 years ago

could be an issue with AAK in particular because it has an additional camera type. But the openAL sfx won't change upon entering a sfx zone until the camera enters it for AAK. Not sure if this is reflected in non-AAK.

theblooopz commented 5 years ago

https://github.com/GarageGames/Torque3D/blob/561f010f2e6411d8253d23f0cfcff794e81f60bf/Engine/source/T3D/sfx/sfx3DWorld.cpp#L88

https://github.com/GarageGames/Torque3D/blob/c131084a0d767415aa3b0f7bb39e95d04d11d179/Engine/source/T3D/shapeBase.cpp#L463

possibly relevant.

theblooopz commented 5 years ago

may only be an issue with AAK. AAK uses a camera goal follower shapebasedata object. That may be relevant.

lukaspj commented 4 years ago

Sounds like it uses the earNode on the camera shapebasedata instead as you've found as well, so it's an AAK issue