I haven't updated this thread in awhile but we're making good progress on version 2.2 One of the new abilities within version 2.2 is a drive ability. This drive ability uses an interface to communicate with the vehicle so you'll be able to use the drive ability no matter what vehicle controller you are using. Here's an example of the character getting into the standard assets car:
Right now the new interface looks like:
Code:
public interface IDriveSource
{
GameObject GameObject { get; }
/// <summary>
/// The character has started to enter the vehicle.
/// </summary>
/// <param name="character">The character that is entering the vehicle.</param>
void EnterVehicle(GameObject character);
/// <summary>
/// The character has entered the vehicle.
/// </summary>
/// <param name="character">The character that entered the vehicle.</param>
void EnteredVehicle(GameObject character);
/// <summary>
/// The character has started to exit the vehicle.
/// </summary>
/// <param name="character">The character that is exiting the vehicle.</param>
void ExitVehicle(GameObject character);
/// <summary>
/// The character has exited the vehicle.
/// </summary>
/// <param name="character">The character that exited the vehicle.</param>
void ExitedVehicle(GameObject character);
}
The Move Towards ability has also been improved so it can use the pathfinding abilities in order to move towards the ability start point. This will allow a player-controlled character to avoid the car when moving to the drivers seat: