mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 14:35:14 +00:00
Launch from Anchor Point Setting
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user