csharp
public readonly record struct BehaviorServiceSlotOne service, attached to one composite.
Remarks
⚠ is not a nicety. An interval alone means every agent spawned in the same frame ticks its service in the same frame for ever, which turns a 0.5 s perception update into a spike every thirty frames. The deviation is drawn from the agent's own seeded stream rather than a shared one, so it is the same jitter on every machine.
Fields and properties (6)
public BehaviorService ServiceWhat it does.
public int NodeThe composite whose branch it lives for.
public float IntervalHow often it runs, in seconds.
public float RandomDeviationHow much to jitter that, in seconds, from the agent's own stream.
public int MemoryOffsetWhere its state starts in an agent's memory block.
public int MemorySizeHow many bytes of that block are its own.
Methods (1)
public BehaviorServiceSlot(BehaviorService Service, int Node, float Interval, float RandomDeviation, int MemoryOffset, int MemorySize)One service, attached to one composite.
Used by (3)
- BehaviorTreeInstanceVixen.Ai
- BehaviorTreeTemplateVixen.Ai
- CompileStateVixen.Ai