Skip to content

Commit

Permalink
물체 회전에 deltaTime 적용
Browse files Browse the repository at this point in the history
물체 회전에 deltaTime 적용
  • Loading branch information
vxbdfsg committed May 23, 2024
1 parent 4d984ba commit c7635f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scenes/Network Test/Scripts/NetworkGrabManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void MoveObject()
//앵글
if (m_catchTarget.IsOwner && Input.GetKey(m_rotateKey) && !canChange) //들고있는 상태에서 돌
{
m_catchTarget.GetRigidbody().rotation = m_catchTarget.GetRigidbody().rotation * Quaternion.Euler(0f, 2.0f, 0f);
m_catchTarget.GetRigidbody().rotation = m_catchTarget.GetRigidbody().rotation * Quaternion.Euler(0f, 40.0f * Time.deltaTime, 0f);
}
//else if (m_catchTarget.IsOwner && Input.GetKey(KeyCode.E))
//{
Expand Down

0 comments on commit c7635f5

Please sign in to comment.