Merge remote-tracking branch 'origin/master' into 1.8

This commit is contained in:
Wojtek Figat
2024-03-11 23:49:33 +01:00
119 changed files with 1922 additions and 1150 deletions

View File

@@ -3469,7 +3469,8 @@ void* PhysicsBackend::CreateVehicle(WheeledVehicle* actor)
Array<PxShape*, InlinedAllocation<8>> shapes;
shapes.Resize(actorPhysX->getNbShapes());
actorPhysX->getShapes(shapes.Get(), shapes.Count(), 0);
const PxTransform centerOfMassOffset = actorPhysX->getCMassLocalPose();
PxTransform centerOfMassOffset = actorPhysX->getCMassLocalPose();
centerOfMassOffset.q = PxQuat(PxIdentity);
// Initialize wheels simulation data
PxVec3 offsets[PX_MAX_NB_WHEELS];