How can i make my character bounce like the game Doodle jump
You could also use a ‘bouncy’ physics material applied to whatever platforms you’re using, assuming you’re using a non-kinematic rigidbody for your character.
Are you using a rigidbody?
If so, then you can set the velocity with this
val target : GameObject;
function Update() {
if(rigidbody.velocity.y < 0 && Vector3.Distance(transform.position,
target.transform.position < 1){rigidbody.velocity.y = 10;}}
Save this as a javascript and add it to your character.
Good luck!