Answers for "how to create a rigid body variable in unity"

C#
1

unity rigid body variable

public Rigidbody rigidbody;
Posted by: Guest on June-24-2020
0

How to add rigidbody as a variable

public Rigidbody rigid;

void Start() {
  rigid = GetComponent<Rigidbody> ();
}
Posted by: Guest on August-22-2021

Code answers related to "how to create a rigid body variable in unity"

C# Answers by Framework

Browse Popular Code Answers by Language