GameSalad

Howdy, Stranger!

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

Sound only when object is moving

millerbrother1millerbrother1 Posts: 108Member
I have an actor (a box) that the main character can push across the floor. When the box's linear velocity.X is NOT EQUAL to zero I have it playing a sound of a sliding box. The sound is set to loop. However, after the character is done moving the box, the sound persists. There doesn't seem to be a way to "stop sound" when Velocity is 0. What else can I do?

Comments

  • millerbrother1millerbrother1 Posts: 108Member
    I changed the rule to when Velocity.X is GREATER THAN 1. Seems to work great. Thanks TShirt
This discussion has been closed.