Exemple #1
0
        public override SteeringOutput GetSteering()
        {
            // no KS? get it
            if (this.ownKS == null)
            {
                this.ownKS = GetComponent <KinematicState>();
            }

            return(KBDSteer02.GetSteering(this.ownKS));
        }
        public override SteeringOutput GetSteering()
        {
            // no KS? get it
            if (this.ownKS == null)
            {
                this.ownKS = GetComponent <KinematicState>();
            }

            SteeringOutput result = KBDSteer02.GetSteering(this.ownKS);

            base.applyRotationalPolicy(rotationalPolicy, result, null);
            return(result);
        }