August Free Content now available!

Physic Based ATV

ZerstorenGames - Blueprints - May 22, 2019

Physic based ATV (not rigged) with racing ai (no nav mesh needed), track creator, lap times, ragdoll, driver collision

  • Supported Platforms
  • Supported Engine Versions
    4.22 - 4.27
  • Download Type
    Complete Project
    This product contains a full Unreal Engine project folder, complete with Config files, Content files and .uproject file, which can be used as a template to create a new project.

Video Demo Doc ReplaceDriver


UE5 PROJECT VERSION: Due to issues with physic constraints in UE5.0 we have to wait for UE5.1 to release the project since constraints will be fixed in the next engine version. More info here: https://issues.unrealengine.com/issue/UE-148444


This template features a physic constraints based All Terrain Vehicle (ATV) made with static meshes and animated using timers inside the pawn Blueprint.

  • Track can be created automatically following a landscape spline or can be adjusted using a spline to be dragged along the path, Pit box lanes can be easily added to allow refueling
  • Starting gate Blueprint will monitor each pawn lap time and uses a 3d widget to display infos
  • The atv is fully customizable and meshes can be replaced with different ones just by changing the components inside the Blueprint
  • Racing AI not based on navmesh with a basic avoidance system and auto refill system when the fuel is lower than a value
  • The driver is not animated but it's simulating physics and a ragdoll system that can be triggered when needed
  • Easy to migrate
  • AI can be enabled or disabled when needed like a car auto-pilot
  • The front suspensions of the ATV simulates a simple double wish bone suspension with realistic results and the vehicle collision with environment is highly reliable.
  • Forces can be adjusted to provide a fully customizable driving experience based on your needs
  • Automatic refueling system using a fuel pump Blueprint and a pitlane track based on splines

Technical Details

Features:

  • BP_ATV pawn class that contains all the vehicle logic like rpm, brakes, sounds and the ai system
  • BP_Track actor class that contains all the system to create a track that can be used by the ai
  • BP_StartingGate actor class that is used as trigger box but also as 3D panel with best laps etc
  • BP_FuelPump that is used to auto refill the ATV when out of fuel and also to create a pit lane that can be used by the AI system
  • BP_Barrier actor class that is used to create road barriers with hierarchically instanced static meshes and splines
  • BP_Ragdoll that is the actor used for ragdoll

Number Of Static Meshes: 34 total from the ATV body that is 87k Triangles with 4 lods, wheels that are 16k triangles each one with 3 lods

Number of Blueprints: 8

Input: Gamepad, Keyboard, Mouse

Network Replicated: No

Supported Development Platforms: Win 64

Supported Target Build Platforms: Win 64

Important/Additional Notes:

  • The ATV is using Materials from the Automotive Materials because they work well with parts of the body. It also uses a 4k Texture for parts like the brake discs that otherwise will use too many tris and for the decals or other details on the ATV.
  • The ATV model included is using a high poly mesh with more than 100k polygons total that is reduced to 30% of the total with LODs but they can be heavy on certain machines.
  • The transmission chain is not animated (check doc). The vehicle doesn't have a rear differential by design (check doc).