Removed blank spaces
This commit is contained in:
parent
0829f3a54b
commit
14f6ea1f79
|
@ -55,7 +55,7 @@ TArray<FUSDCARLAWheelData> UUSDCARLAInterface::GetUSDWheelData(const FString& Pa
|
||||||
{
|
{
|
||||||
pxr::UsdStageRefPtr Stage =
|
pxr::UsdStageRefPtr Stage =
|
||||||
FOmniverseUSDHelper::LoadUSDStageFromPath(Path);
|
FOmniverseUSDHelper::LoadUSDStageFromPath(Path);
|
||||||
|
|
||||||
// Get the wheel data
|
// Get the wheel data
|
||||||
const std::string UsdPhysxWheelPath = "/vehicle/_physx/_physxWheels/";
|
const std::string UsdPhysxWheelPath = "/vehicle/_physx/_physxWheels/";
|
||||||
const std::string UsdPhysxSuspensionPath = "/vehicle/_physx/_physxSuspensions/";
|
const std::string UsdPhysxSuspensionPath = "/vehicle/_physx/_physxSuspensions/";
|
||||||
|
@ -121,7 +121,7 @@ TArray<FUSDCARLAWheelData> UUSDCARLAInterface::GetUSDWheelData(const FString& Pa
|
||||||
pxr::UsdPrim PhysxWheelPrim = GetPrimFromRelationship(WheelRelationship);
|
pxr::UsdPrim PhysxWheelPrim = GetPrimFromRelationship(WheelRelationship);
|
||||||
pxr::UsdPrim PhysxTirePrim = GetPrimFromRelationship(TireRelationship);
|
pxr::UsdPrim PhysxTirePrim = GetPrimFromRelationship(TireRelationship);
|
||||||
pxr::UsdPrim PhysxSuspensionlPrim = GetPrimFromRelationship(SuspensionRelationship);
|
pxr::UsdPrim PhysxSuspensionlPrim = GetPrimFromRelationship(SuspensionRelationship);
|
||||||
|
|
||||||
if (!PhysxWheelPrim || !PhysxTirePrim || !PhysxSuspensionlPrim)
|
if (!PhysxWheelPrim || !PhysxTirePrim || !PhysxSuspensionlPrim)
|
||||||
{
|
{
|
||||||
UE_LOG(LogOmniverseUsd, Warning, TEXT("Prims fail: %d %d %d"),
|
UE_LOG(LogOmniverseUsd, Warning, TEXT("Prims fail: %d %d %d"),
|
||||||
|
@ -147,7 +147,7 @@ TArray<FUSDCARLAWheelData> UUSDCARLAInterface::GetUSDWheelData(const FString& Pa
|
||||||
OutWheelData.LongitudinalStiffness =
|
OutWheelData.LongitudinalStiffness =
|
||||||
GetFloatAttributeValue(
|
GetFloatAttributeValue(
|
||||||
PhysxTirePrim, "physxVehicleTire:longitudinalStiffnessPerUnitGravity");
|
PhysxTirePrim, "physxVehicleTire:longitudinalStiffnessPerUnitGravity");
|
||||||
|
|
||||||
UE_LOG(LogOmniverseUsd, Warning, TEXT("USD values: %f %f %f %f %f %f %f %f %f"),
|
UE_LOG(LogOmniverseUsd, Warning, TEXT("USD values: %f %f %f %f %f %f %f %f %f"),
|
||||||
OutWheelData.MaxBrakeTorque, OutWheelData.MaxHandBrakeTorque, OutWheelData.MaxSteerAngle,
|
OutWheelData.MaxBrakeTorque, OutWheelData.MaxHandBrakeTorque, OutWheelData.MaxSteerAngle,
|
||||||
OutWheelData.SpringStrength, OutWheelData.MaxCompression, OutWheelData.MaxDroop,
|
OutWheelData.SpringStrength, OutWheelData.MaxCompression, OutWheelData.MaxDroop,
|
||||||
|
|
Loading…
Reference in New Issue