IProjectileBehaviour interface
public interface IProjectileBehaviour What a projectile does, written by the Plugin that launches it.
- Assembly
- EvilEngine.Api
- Commit
- 4ff877b1
public interface IProjectileBehaviour What a projectile does, written by the Plugin that launches it.
void Think(IProjectile projectile) Runs every tick before it moves, to steer it, time a fuse or change how it looks.
void Touch(IProjectile projectile, WeaponTrace hit) Runs when it hits the world, a prop or a person, with the trace of what it hit. A physical projectile touches whenever a bounce changes its speed. It stays where it hit until the behaviour moves it, sticks it, strikes, explodes or removes it.