Mechanic
setProjectileDirection
Sets the projectile's current direction to the given target
Configuration Fields (1)
| Name | Type | Default | Description |
|---|---|---|---|
| magnitude m | double | 1.0 | Interpolation 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
