Reg. 'hit me toys' effect

Hi I want to apply ‘hit me toys’ like effect to my Domino object but after hit it doesn’t raise again like ‘hit me’ do.For that i have use hing joints but it’s not work very well because it require so many calculations.Any suggestion pls.

Rajiv

Let physics do the job for you: set the rigidbody.centerOfMass below the rigidbody - this will produce a self-righting effect:

function Start(){
  // sets the center of mass 2 units below the object's center:
  rigidbody.centerOfMass = Vector3(0, -2, 0);
}

You will need a hinge joint only if you don’t want the object to slip when hit.