Getting mass troubleshooting


The overlap seems to be working but, I keep getting a value of zero mass. I tried with both :

so now I’m thinking it’s something with the chair, table and default pawn. Can you recommend anything parameters to check

bit of an update :
The mass calculations for the purposes of opening the door is working as expected. The issue is with UE_LOG saying the total mass is zero when I call

UE_LOG(LogTemp,Warning,TEXT(“total mass is %f”), *FString::SanitizeFloat(TotalMass));

can you spot the bug?

[Spoiler Alert]

silly me, the mass has already been convert to string so the logging message should read

UE_LOG(LogTemp,Warning,TEXT(“total mass is %s”), *FString::SanitizeFloat(TotalMass));

Privacy & Terms