Search Results for

    Show / Hide Table of Contents

    Actuators

    Acutators are all extended from the KaijuAcutator class implementing the Run() method. Acutators must be directly attached to or within the child GameObjects of an agent. Acutators are run by calling the Begin() method.

    Attack Actuator

    The KaijuAttackActuator is the base class for creating actuators that fire a ray in the forward direction. This ray fires for a set distance and will try to hit a given component type. If the given component type is found, the HandleHit(RaycastHit, Transform) method is called. A LineRenderer can optionally be assigned to the attack actuator to visualize the ray.

    Everything Attack Actuator

    The KaijuEverythingAttackActuator is an implementation of the KaijuAttackActuator which calls HandleHit(RaycastHit, Transform) method on all transforms. This will either disable or destroy the hit GameObject. A name filter allows for filtering specific ojects, similar to the everything vision sensor.

    In This Article
    Back to top MIT License © 2026 Kaiju Solutions Inc.