i have a projectile that spins when the player holds it (kinematic is set to true) , but when the player shoots the projectile (kinematic is set to false) but when its shot , it stops spinning , how do i keep it spinning even in non kinematic state ?
void Update()
{
rb.MoveRotation(rb.rotation + revSpeed * Time.fixedDeltaTime);
}
void OnMouseDown()
{
IsPressed = true;
rb.isKinematic = true;
}
void OnMouseUp()
{
rb.MoveRotation(rb.rotation + revSpeed * Time.fixedDeltaTime);
IsPressed = false;
rb.isKinematic = false ;
StartCoroutine(Release());
}