Mass of default pawn incorrect

Hi,

I am new to UE4. I have a custom pawn blueprint created out of the default which is used in my game mode. As per the blueprint, I see that the pawn is set to mass of 50 kg and simulate physics is enabled. I have a few trigger volumes in the game. However the trigger volume triggering the door in my game was not working as I wanted.

On debugging with UE_LOG, I found that when the pawn moves onto the trigger volume the mass of the pawn is not 50 but around 73. something. Why is the mass different than what I set? I checked the mass on the collision component of the pawn blueprint and it says 50 kg units. I feel that the issue has suddenly appeared and it used to work ok before. I recently added a few more trigger volumes to my game and that’s about it.

I also have few other props like a table etc and when I move them onto the trigger, their mass prints out as I had set. Only the pawn seems weird.

are you using a physics based system to open the door? if your new i wouldnt bother messing around with physics and setting the mass of things until you learn a bit about scripting and generally how the engine works.

also if your using a physics based door why the collision volume

No I don’t think am using physics to open the door. The door is opened merely by checking that the trigger volume overlapping actors exceed a certain threshold in order to broadcast an open door event. The event graph for open door and door rotation is controlled through blueprint.

I noticed that the when I edited the pawn blueprint to check the box for simulate physics under the mesh component ,the mass seems ok! Earlier the collision component only had simulate physics checked and not the mesh component. Do you happen to understand what this is about?

the mesh is a child of the collision component so in theory if the collision if being affected by physics then its children should be as well. the mesh should move in relation to the collision its a child of. in all likelyhood you probably dont need physics enabled for the player character gravity is probably enough (its a weird having gravity without physics but it works).