Skip to main content

SetKinematicModifier

A class in Root.Township, the global namespace.

Forest fill entity modifier that sets a spawned entity's rigidbody to kinematic or not.

Constructors​

MemberWhat it is
SetKinematicModifier()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private bool isKinematicValue to set. Default true.

Methods​

MemberWhat it is
override void Filter(ForestFillCore.Setup setup, ref NetworkEntity point, ref float weight)Sets isKinematic on the entity's Rigidbody, if it has one.