Hi all, I m making prototype of famous game knife Hit. Here i stuck. For rotation of wood(knife Target) i am using Rgidbody2d.AddTorque(rotationSpeed) in Fixed Update. but wood (Knifehit target) Rotate at super speed. how can i roate wood log at some constant speed?
If you have no Angular Drag on the RigidBody2D you need just do AddTorque() once (but with a smaller value than you are doing now) to achieve constant rotation speed. If Angular Drag is >0 you need to keep doing AddTorque() in FixedUpdate() but with a very small constant value, and Drag and Torque will eventually reach a constant top rotation speed.
If you instantly want to rotate at constant speed, you set rb.rotation each FixedUpdate() to the same small value regardless of Angular Drag.
Your question is too imprecise to give any more specific answer.