|
The mass of the wheel. Must be larger than zero.
collider.mass = 1;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
collider.mass = 1;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
collider.mass = 1