I’m creating a car in my game, but I would like to implement a handbreak system so that the car doesn’t roll on hills. What can I do to achieve this? So far I’ve looked at:

Setting limits to be enabled when the player enables the hand breaks but this doesn’t seem to work. I’ve looked at creating a new physical property for the wheels to stop friction but this doesn’t prevent the rolling. Any help?