- Home /
Question by
Walter_Hulsebos · Sep 06, 2016 at 04:44 AM ·
velocityjumpaccelerationdash
Fast Jump/ Dash
I'm trying to get a movement system where I can jump really fast but not very high, much like rapid acceleration but also with very a abrupt deceleration , almost instant.
But I can't get it to work properly, does anyone in here know a way of doing that?? Id really appreciate it. I thought about using lerps but I don't know how to pick were to lerp to whilst adding the current velocity.. Be aware that I'm not a really experienced programmer.
Thanks in advance for your help,
-Treemsi
Comment
Answer by KyleRasmusson · Sep 06, 2016 at 06:40 AM
You could try something like this
GetComponent<Rigidbody>().AddForce(transform.up, ForceMode.Impulse);
and just tweak the values till it works for you.