i have tried adding Time.deltaTime but that only results in making the object go even slower, when i test the game on the inspector the momentum works just fine, but once i create a build and try the same thing my object goes a lot slower
if (Input.GetKey("w"))
{
rb.AddForce(transform.forward * moveforward);
}
if (Input.GetKey("s"))
{
rb.AddForce(transform.forward * -moveback);
}
↧