neuer character modifiziert und skeleton vom alten in den neuen
This commit is contained in:
1 parent
54f675d28b
commit
cdcd374639
22 files changed
+4247
-9663
No files matched your search
@@ -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