how to get a slipering effect for the character when i release the up arrow.
when i release it should slip for certain distance
how to get a slipering effect for the character when i release the up arrow.
when i release it should slip for certain distance
Do you mean It should continue moving and come to a stop slowly? If you use GetAxis you can achieve this by manipulating the settings for the controls in Editor->Project Settings->Input.
He is right, turn the gravity for your input to around 1 or less adn that will make it slide, gravity is how fast the button returns to 0 once you let go of it
– anon61858128if i press up arrow the character should slip for small distance (let it be 3 meter ) and should stop
– anon16754120
slipering is not a word. Slippering is a word however it means getting smacked on the arse with a slipper not slipping or sliding, hence the retag
– anon61858128thanks a lot for the answer
– anon16754120