Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/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 |
UFUNCTION (BlueprintCallable, Category="Physics|Constraints")
FConstraintInstanceAccessor GetConstraintByBoneNames
(
FName Bone1Name,
FName Bone2Name
)
Remarks
Gets a constraint by its joint name ConstraintInstance accessor to the constraint data
Parameters
| Name | Description |
|---|---|
| Bone1Name | name of the first bone in the joint |
| Bone2Name | name of the second bone in the joint |