I have tried messing with a rigidbody but it only falls over if you jump at it. I need it to fall over when you touch it so a bowl can fall to the ground. How can I make that happen?
you could try to experiment by adding y force equal to the x/z force.
try adding some y force on collision -
//always cache Components if you're going to use them more than once
private RigidBody rbody;
void Start () {
rbody = gameObject.GetComponent<RigidBody>();
}
void OnTriggerEnter (Collider other) {
if (other.gameObject.tag == "Player") {
rbody.AddForce (new Vector3 (0, 100, 0));
}
}
see if that works