Answers for "add force y unity c#"

C#
3

unity how to add force

public Rigidbody rb;

if(Input.GetKey(KeyCode.W))
{
	rb.AddForce(100, 0, 0);
}
Posted by: Guest on December-13-2020

C# Answers by Framework

Browse Popular Code Answers by Language