UPhysicsAsset::SetPrimitiveContributeToMass

Set whether or not a primitive volume contributes to the mass of the object.

Windows
MacOS
Linux

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

Syntax

void SetPrimitiveContributeToMass
(
    int32 BodyIndex,
    EAggCollisionShape::Type PrimitiveType,
    int32 PrimitiveIndex,
    bool bContributesToMass
)

Remarks

Set whether or not a primitive volume contributes to the mass of the object.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss