Mechanic

setProjectileDirection

Sets the projectile's current direction to the given target

Configuration Fields (1)

NameTypeDefaultDescription
magnitude
m
double1.0Interpolation factor toward the new direction (0-1)

Examples & Notes

Examples

Once called by a projectile, this mechanic will change the projectile’s direction based on its current direction

  Skills:
  - setprojectiledirection @ProjectileForward{f=10;rot=45}

Universal Mechanic Options

Author:
Ashijin
Community-maintained documentation for the Mythic plugin ecosystem.