Kampfsystem, hier: Positionierung des Schwertes, weitere Features für die Griffe ergänzt

This commit is contained in:
2026-10-12 21:07:46 +02:00
parent 9ff911eaa6
commit 21c8af0105
27 changed files with 1063 additions and 162 deletions

View File

@@ -7,6 +7,15 @@ import lombok.Setter;
@Getter
@Setter
public class ItemGrip {
/** Offset (Modell-local), den das Runtime-System beim Anbringen der Waffe addiert. */
public static final float HAND_GRIP_OFFSET_X = 0.1f;
public static final float HAND_GRIP_OFFSET_Y = 0.0f;
public static final float HAND_GRIP_OFFSET_Z = 0.05f;
private float posX, posY, posZ;
private float rotX, rotY, rotZ;
/** Position des linken Hand-Griffs im Modell-Space (nur Zweihänder). */
private float grip2PosX, grip2PosY, grip2PosZ;
/** Zusätzlicher Offset in Character-Space (X=rechts, Y=oben, Z=vorwärts). */
private float handOffsetX, handOffsetY, handOffsetZ;
}