In my game, I have a hammer and a moving nail in the below of the hammer. So now, when the nail comes under the hammer, based on user key pressed, the hammer will hit the nail. I have added the rigidbody component to hammer with weight and gravity 0. But when I add addForce to the hammer object, it go down slow. Not like real hammering. So what action should I add to that object? or what component should I add to that?
Either simply add a bigger force vector to the hammer or try and use a force mode and see if it gives the desired effect.
ForceModes:
ForceMode.Acceleration
ForceMode.Force
ForceMode.Impulse
ForceMode.VelocityChange
Example using ForceMode.Impulse
rigidbody.AddForce(force vector here, ForceMode.Impulse);
Hope this helps.