Kampfsystem, hier: Positionierung des Schwertes, weitere Features für die Griffe ergänzt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user