neuer character modifiziert und skeleton vom alten in den neuen
This commit is contained in:
@@ -39,7 +39,7 @@ public class Door_Rotate : MonoBehaviour
|
||||
isOpen = !isOpen;
|
||||
targetRotation = isOpen ? currentRotation + openAngle : currentRotation - openAngle;
|
||||
}
|
||||
//Smoothe rotation der tür
|
||||
//glatte bewegung der tür
|
||||
private void SmoothRotateDoor()
|
||||
{
|
||||
currentRotation = Mathf.Lerp(currentRotation, targetRotation, Time.deltaTime * rotationSpeed);
|
||||
|
||||
Reference in New Issue
Block a user