If you spawn a Vehicle by SlotBase (ScenarioFramework) and playing as Client on a Dedicated server, all wheels of the Vehicle floating 10 - 20cm in the air. If you now entering the Vehicle and start the engine, the wheels will start touching the ground. This look terrible and was not a thing in 1.7 or before.
i already tryed to fix in SlotBase:
override IEntity SpawnAsset()
{
IEntity superEnt = super.SpawnAsset();
if(superEnt) {
Vehicle vehEnt = Vehicle.Cast(superEnt);
if(vehEnt) {
CarControllerComponent carController = CarControllerComponent.Cast(superEnt.FindComponent(CarControllerComponent));
if(carController) carController.SetPersistentHandBrake(true);
Physics vehiclePhysics = superEnt.GetPhysics();
vehiclePhysics.SetActive(ActiveState.ACTIVE);
if(vehiclePhysics) vehiclePhysics.SetVelocity("0 -1 0");
}
}
return superEnt;
}
But also here, the client do not care!
The only way to make it work is: "vehiclePhysics.SetActive(ActiveState.ALWAYS_ACTIVE);"
But then, the Vehicle starts moving slowly by itslef on the Client site (without occupant).