I’m currently evaluating UE4 for a game that primarily consists of vehicles but I have hit a bit of a snag.
I’d like to be able to modify a vehicles properties during runtime without having to destroy and recreate the vehicle, the following types of changes do not seem to take effect unless I do so.
VehicleMovement->COMOffset = FVector(0.0f, 0.0f, 0.0f); VehicleMovement->MaxEngineRPM = 1000; VehicleMovement->Wheels->LatStiffValue = 1000; VehicleMovement->Wheels->LongStiffValue = 1000;
These are just examples but it seems that any changes made to the VehicleMovement class during runtime are not reflected until the vehicle is respawned.
I’m assuming or perhaps hoping that I am doing something wrong and that these types of changes are supported by the engine.