Initial ChaosVehicle speed

Antokog
Mon, 17 Jun 2024 18:21:27 +0000
C++

Im making kind of endless racing game, and a problem is - I need to spawn vehicles with certain speed, so it dont ruin highway movement. There are ForwardSpeed variable in FVehicleState struct in ChaosVehicleMovementComponent, but it seems that i cant acces and change it through child class.
Is there a way to manipulate this value or another way to set velocity/speed at begin play?

2 posts - 2 participants