Jump to content

Recommended Posts

Posted

I wasn't quite sure if this thread fell in general discussion or in here, oh well :P

 

I have a question about spatial sound/3D sound in Leadwerks: Steam Indie Edition. I am not to sure whether this is a some sort of bug or maby a feature that hasn't yet been added in. Basically I have made a pivot in my level and attached the 'Noise.lua' script to the pivot and my .wav file I want to play. I have made a CSG box in front of a door in my level and that is linked to the the pivot in the flowgraph editor. The collision/trigger works fine and when I walk into my CSG box the sound plays. However. The sound isn't emitting from its origin where the pivot is, it just sounds centered as if the sound is attached to the player (which it isn't) its like the sound isn't panning from the correct position.

 

Any help would be appreciated

Posted

DudeAwesome your script worked in a little test project I made however I want the listener to follow the camera of the player so when we turn the panning of the sound only happens when the player is moving around so it sounds like its coming from a source through the player if that makes sense :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...