#How to limit sliding to one direction
8 messages · Page 1 of 1 (latest)
You likely have code that flips the player when they move/face the opposite direction. It should be possible to disable that code if the player is sliding.
Like the code that rotates the camera with the player? If I turn it off while sliding and then after the slide I turn it back on would that work?
I don't know what your code is like, but something along those lines should work
Or stopping the player's velocity from changing normally when sliding
Either or
Depends of course on how your system is set up
yeah, ill try and see if i can get that to work