How add jump to first person ,How make first person jump using Ridgid body

All work is done.but when I jump I go straight up and going smooth down.but going up is not smooth it is I am jumping to jump potision.that’s weird.i need to be that smooth.i try lerp but I don’t know how it works.i am a beginner.please help me.i am using Ridgid body.all other works are done ,I already add jump with all of it I just need when I jump I go straight jump into high that what not I want.i need that would be smooth smoothly go up and go down.all other works are done

Rigid body = rg. This how I using rigid body in code

Try exerting an upward force on the player instead of changing their position, if that’s what you are doing. See this API reference for example code: Unity - Scripting API: Rigidbody.AddForce