Jump to content
Sign in to follow this  
scorch_052

Scripted Movement using Setvelocity and CBA keyeventhandlers

Recommended Posts

Hi, I'm trying to script an ojbect to move whenever the player hits any of the WASD keys in a relative direction. I've figured out the relative direction part. However, whenever I use one of the buttons, the other three stop working. So, for instance if I go right, I can no longer go left, back, or forwards.

I'm using setvelocity and getdir to move the object and they work fine individually.

Any help would be great.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×