August 2018
Beginner
334 pages
10h 19m
English
They use the same approach, but in terms of implementation, the name of the member variables change, as well as some computations in the first half of the GetSteering function:
using UnityEngine;
using System.Collections;
public class Arrive : AgentBehaviour
{
public float targetRadius;
public float slowRadius;
public float timeToTarget = 0.1f;
}
public override Steering GetSteering()
{
// code in next steps
}
Read now
Unlock full access