Hello.
In my script, I used maximum force as is possible. If i added more, visual studio told, it cant be used. But it moved so slow, I couldnt almost see it.
My scrpit looks like this:
public class RbMovement : MonoBehaviour
{
Rigidbody rb;
Vector3 forward;
public float speed = 40f;
void Start()
{
rb = this.GetComponent<Rigidbody>();
}
void Update()
{
forward = new Vector3(Input.GetAxis("Vertical") * speed * Time.deltaTime * 100000, 0, 0);
}
void FixedUpdateUpdate()
{
rb.MovePosition(this.transform.position + forward);
}
}
(this isnt the maximum I was talking about)
Does anyone know, what is wrong here?