How to randomize car models

This page covers how to use the features of the plugin in blueprints. The logic in C++ should be the same.

Randomizing Cars in your level:

  1. Ensure you import 3d skeletal mesh models of your cars to your project and they share the same rig(skeleton).

  2. Ensure you have setup the animation blueprint for them to support chaos vehicle movement. There are tutorials on youtube for this, just search "Chaos Vehicle unreal engine tutorial"

  3. Create a variable of type Skeletal Mesh and make it an array in your car pawn. If using the demo content this is called Sportscar_Pawn

  1. Assign your animation blueprint for the car in the details panel of your mesh.

  2. Copy this code and run it on begin play

  1. That is it, you should now have randomized cars assuming you have set up the animation blueprint and skeletal mesh stuff correctly.

  2. To remove the random colors from the demo content, go to the construction script and disconnect the color-changing function.

Need further support? Join the discord

We have a Discord that is open to everyone for support, You can join it here: https://discord.gg/GXZ7c74sTm

Last updated