Hi all,
I am adding the force to a simple sprite having rigidbody2d component. Sprite mass is 1, gravity scale is 1. I don’t have too much of code and no such BG’s just a simple ground and a character in the scene. FPS I am getting on PC 55-60 and on mobile 45-50. Still, while jumping, I found the character too jerky when in motion. I tried with target FPS, but didn’t work.
Simple code I am using is
void FixedUpdate ()
{
if(Input.GetKeyDown(KeyCode.Mouse0))
{
rigidbody2D.AddForce(Vector2.up*400f);
}
}
Working now.. Interpolation did the trick..
– hirenkacha