I have a ball and once i release the mouse button the ball moves in a projectile motion. I want my ball to move faster but the trajectory should remain same
xAngle = 45f;
yAngle = 45f;
void Update ()
{
if(Input.GetMouseButtonUp(0))
{
ball.AddRelativeForce(xAngle, yAngle , yAngle * 1.5f);
}
}