Unreal Engine – Vehicle AI Plugin

rel=”nofollow” target=”_blank”>Preview Video

rel=”nofollow” target=”_blank”>Downloadable Demo

The Vehicle AI Plugin is a simple, effective way to get AI controlled vehicles using the NavMesh into your game. The plugin uses a customized version of the PathFollowingComponent to control the steering, throttle and brakes of your vehicle. The vehicle uses the Navigation Mesh, which makes it super fast to integrate to your own project. Simply use the normal AI Move To and it will find its way there! Implement the included interface to be able to use it on special vehicles, such as Tanks or N-Wheeled vehicles, or use it to customize the steering, throttle or braking, to get better results. The plugin also includes other useful features that make it a perfect starting point to use for any type of Vehicle AI you wish to implement. See the preview video to see some of those features in action.

rel=”nofollow” target=”_blank”>Video Tutorials

Please check the documentation for the change log as well as a log of known issues (if there are any). These are usually fixed in future updates, and will include workarounds if possible too.

Technical Details

Features:

  • NavMesh based path following
  • Quick and easy integration
  • Automatic throttle and braking based on a desired speed
  • Automatic and manual reversing ability
  • Detour Crowd Avoidance compatible
  • Simple stuck detection gets AI moving again after becoming stuck (can be overridden for custom unstuck behaviour)
  • Change settings and behaviour at runtime using Blueprint exposed functions
  • Implementable interface – Use with any custom vehicles (non-PhysX and N-Wheeled Vehicles too!)

Code Modules: Runtime: VehicleAIPlugin

Number of Blueprints: 0

Number of C++ Classes: 9

Network Replicated: No

Supported Development Platforms: Windows

Supported Target Build Platforms: Windows

: rel=”nofollow” target=”_blank”>Link

Example Project: rel=”nofollow” target=”_blank”>Link (4.22-4.24) rel=”nofollow” target=”_blank”>Link (4.25+)

Important/Additional Notes:

  • Works with Chaos or PhysX, but still requires the PhysX vehicles plugin to be enabled – This dependency will be removed after 4.26 and all vehicles will need to use the interface
  • Example content shown in video (Driveable Vehicle Pack) is not included