Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponentImpl.cpp |
bool GetModifiableBoneData
(
UE::PhysicsControl::FBoneData *& OutBoneData,
const USkeletalMeshComponent * InSkeletalMeshComponent,
const FName InBoneName
)
Remarks
Retrieves the bone data for the specified bone given the skeletal mesh component, for modification true if the bone and data were found, false if not (in which case warnings will be logged)
Parameters
| Name | Description |
|---|---|
| OutBoneData | If successful, this will point to the bone data. |
| InSkeletalMeshComponent | Required to be a valid pointer to a skeletal mesh component |
| InBoneName | The name of the bone to retrieve data for |