How Can I Get These properties in C++

How Can I Get These Properties Mentioned In The Picture in C++?
Capture

Try:

image

1 Like

At First, I Thought Of The Same Thing As You Suggested, But it Does not Have the Effect Of Those Check Boxes.

1 Like

It does work. Putting this in my characters constructor

USkeletalMeshComponent* SMesh = GetMesh();
	SMesh->BodyInstance.bLockXRotation = true;
	SMesh->BodyInstance.bLockYRotation = true;
	SMesh->BodyInstance.bLockZRotation = true;

	SMesh->BodyInstance.bLockXTranslation = true;
	SMesh->BodyInstance.bLockYTranslation = true;
	SMesh->BodyInstance.bLockZTranslation = true;

Give the result

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.