ZGameEditor Documentation
Community |
SteeringBehaviourSteeringBehaviourRepresents a steering behaviour. This component can only be used in the Behaviours property on the SteeringController component. See also: SteeringController PropertiesKindAllowed values:
TargetModelWhen kind is set to "Seek" or "Flee", this is the model to seek towards or flee from. TargetCategoryWhen kind is "Separation": the category of models that the current model is being separated from. When kind is "WallAvoidance": the category of models that are considered being "walls". WeightA value giving this behaviour a weight. The force of each behaviour is multiplied with this value. Use for fine-tuning the effect of each behaviour. ExpressionWhen kind is "Expression": a expression that calculates a steer vector. The special property "OutVector"-should be set by the expression. Example "this.OutVector.X=0.5; this.OutVector.Y=0.5;". |