Polarith AI
1.8
AIMSimpleController Class Reference

Description

A very simple and basic character controller component suitable for the use in 3D projects.

Its purpose is to show the direct output of the movement AI algorithms for debugging. Requires an AIMContext component. If Context is null, this controller attempts to get these components in the OnEnable method. If they are still null, the controller is disabled.

For debugging purposes, this component is acceptable, but for production, you should definitely implement your own character controller which matches your application or game best.

Only one single component can be attached to one GameObject at a time.

Inheritance diagram for AIMSimpleController:

Public Fields

Vector3 Up = Vector3.up
 The direction which is used to rotate the forward direction according to the decision made by the Context. More...
 
float Speed = 1f
 Determines the base value specifying how fast the character moves. More...
 
int ObjectiveAsSpeed = -1
 If set equal to or greater than 0, the evaluated AI decision value is multiplied to the Speed. More...
 
AIMContext Context
 The AIMContext which provides the next movement direction that is applied to the agent's Transform. More...
 
Imprint