i have two objects and both are pinned.one object is like a pin and another object is a wood.once a new object is falling down on the wood it should detect the mass of the falling object and should rotate based on that mass.
i tried that by giving angular velocity based on the falling object mass as like"object.physics.mass".but am clear that it will rotate continously.
what i actually want is while falling that object it should go up and down based on the mass.
please help me to find it
Thanks in advance