Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > UPhysicsAsset
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsAsset.h |
Include | #include "PhysicsEngine/PhysicsAsset.h" |
Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsAsset.cpp |
void SetPrimitiveContributeToMass
&40;
int32 BodyIndex,
EAggCollisionShape::Type PrimitiveType,
int32 PrimitiveIndex,
bool bContributesToMass
&41;
Remarks
Set whether or not a primitive volume contributes to the mass of the object.