Class MeleeEngagementDef
Immutable template-data slot for world-axis contact geometry, independent of attack/search range.
public sealed class MeleeEngagementDef
- Inheritance
-
MeleeEngagementDef
- Inherited Members
Examples
template.WithCustomData(new MeleeEngagementDef(hostContactBias: new Vec2(0.3f, 0)));
Constructors
MeleeEngagementDef(Vec2?, Vec2?, float)
Creates newly authored geometry. Omitted biases are (0.25, 0), with row spacing 0.12 world units.
public MeleeEngagementDef(Vec2? hostContactBias = null, Vec2? guestContactBias = null, float rowSpacing = 0.12)
Parameters
Properties
GuestContactBias
Guest contribution to horizontal separation and signed world-Y offset.
public Vec2 GuestContactBias { get; }
Property Value
HostContactBias
Host contribution to horizontal separation and signed world-Y offset.
public Vec2 HostContactBias { get; }
Property Value
RowSpacing
Host's world-Y row spacing. Side rows retreat by half this distance on X.
public float RowSpacing { get; }