Launch from Anchor Point Setting

This commit is contained in:
Kam committed 2026-03-01 04:11:20 -05:00
1 parent b28a7a5c4d
commit 17e8833604
2 files changed
+12

No files matched your search

@@ -28,4 +28,10 @@ public interface IEnergyAnchorData {
/** @param anchorOffsetZ Z offset from anchor (positive = forward). */
void setAnchorOffsetZ(float anchorOffsetZ);
/** @return Whether the projectile launches from the anchor position instead of the default eye/look-vector position. */
boolean getLaunchFromAnchor();
/** @param launchFromAnchor When true, the projectile launches from its anchor position; when false, it snaps to the default eye/look-vector position. */
void setLaunchFromAnchor(boolean launchFromAnchor);
}
@@ -137,4 +137,10 @@ public interface IAbilityEnergyProjectile extends IAbility {
/** @param point Anchor point ordinal (0=FEET, 1=CENTER, 2=RIGHT_HAND, 3=LEFT_HAND, 4=HEAD, 5=FRONT, 6=ABOVE_HEAD). */
void setAnchorPoint(int point);
/** @return Whether the projectile launches from its anchor position instead of the default eye/look-vector position. */
boolean getLaunchFromAnchor();
/** @param launchFromAnchor When true, the projectile launches from its configured anchor position. */
void setLaunchFromAnchor(boolean launchFromAnchor);
}