WeaponProjectile record
public sealed record WeaponProjectile What a weapon launches through IWeaponHolder.Launch: a model that flies on its own, either traced by the engine every tick or as a physics body that bounces and rolls. Every vector is a MapVector in meters on Godot’s axes.
holder.Launch(holder.Eye, new WeaponProjectile(bolt)
{
Velocity = new MapVector(holder.Aim.X * 88.9, holder.Aim.Y * 88.9, holder.Aim.Z * 88.9), Gravity = 0.05
}, new Bolt());
- Assembly
- EvilEngine.Api
- Commit
- 4ff877b1