I been working on a raycast vehicle, which is going well so far but the biggest problem I got is the brakes & handbrake. The inputs when I press S & space bar works as intended, its just whenever I press them, nothing happens. Here is a screeshot of the function that should work but isnt, I been trying different things but got no good results so far
From the shape of your code I believe you have been following Ivan’s tutorials.
Your function to apply Brake Torque looks fine to me. It may be that your maximum or input Brake Torque is 0 so the result is a 0 decrease in Angular Velocity?
You want to start using some Print String to print the key values and check whether that is the case. Once you see it, it will become clear where the problem is.