- Home /
How to make a jumppad for Character Controller?
I'm currently using deltaTime, and it's not working. I've been searching around on the internet for quite a while without finding anything that actually works. My current code can be seen here:
void OnControllerColliderHit(ControllerColliderHit hit){
if(hit.gameObject.name == "JumpBoost"){
Debug.Log("Hit");
transform.Translate(new Vector3(0,10F,0)*Time.deltaTime);
}
}
Right now it just jumps up and down extremely fast, and ain't getting much more than a few centimeters up in the air. Can anyone tell me how I get a more "smooth" jump?
Comment
If you wrote the rest of the character movement, you would see why yours doesn't work
Your answer

Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Quaternion Rotation Smooth 1 Answer
I Want My Player To Be Sent Flying In The Air When He Get's Hit By An Enemy 1 Answer
Cant move and Jump at the same time 1 Answer