Link footsteps to arrow keys
Hi i'm trying to link the footsteps sound to when I use the arrow keys. I want the sound to play whenever the up,down,left, or right keys are pressed and to stop whenever none of them are pressed. how would i do that? thanks
|
You can register callback functions with vizact.onkeydown and vizact.onkeyup to start and stop the sounds:
Code:
import viz |
All times are GMT -7. The time now is 05:48 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC