Video of Initial Issue:

CODE BELOW AND IN VIDEO DESCRIPTION

Update since video(based on code below)

  • The player now drastically jumps up too much
  • The player drops rapidly
  • Adding Linear Drag above 0 manually

kills my jump, even with higher force.

  • Adding Physical Material to the Platform with a bounce, doesn't give enough force or control

int bounceAmount = 1;

IEnumerator Bounce () {

anim.SetBool ("Ground", false); // starts jump animation

//rigidbody2D.angularDrag = 10; //not helping, but is valid

//rigidbody2D.linearDrag = 10; //INVALID CODE, but manually works(helps)

(note: when Linear Drag is manually set to 10,the player drops back down but overrides the animation)

rigidbody2D.AddForce(new Vector2(0, bounceAmount ));

yield return new WaitForSeconds(1);

rigidbody2D.AddForce(new Vector2(0, -bounceAmount ));

bounce = false;

}

Unity 3D 2D Boost rigidbody Platform Issues - Google Slides