Forum rules - please read before posting.

Have an issue with the draggable script

The "move sound" in the "movable_drag" scripts doesn't seem to work with an audio source. 
I added a sound to the movable_drag script and an audio source to the object which has the script attached. Nothing happens to the sound when I manipulate the audio source. Am I doing something wrong here? 

Comments

  • Manipulate in what way?  Use the Draggable prefab listed in the Scene Manager - it already has both the required Sound and AudioSource components attached.
  • I tried parenting an object to the draggable prefab and I still have the same problem occurring. I get a sound playing when I drag my object, but I can't turn it up or down in the audiosource or sound effect script. It seems that all the features the audiosource has doesn't apply to the "move sound." 
  • The Sound/AudioSource components on it should behave like any other Sound prefab.  If you want to change the relative volume of the sound, you do so with the Sound: Change volume Action.  However, it does have some additional restrictions in that it controls the playback of the AudioClip by itself.  If you want full control over your object's sound, you can instead remove the components and add a custom script.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.