I’m trying to have a static mesh blueprint with physics enabled constrain itself to a plane at runtime. However the “Set Constraint Mode” node will let me pick “custom” from the dropdown, but how do I set the custom plane in BP?
Thanks in advance.
I’m trying to have a static mesh blueprint with physics enabled constrain itself to a plane at runtime. However the “Set Constraint Mode” node will let me pick “custom” from the dropdown, but how do I set the custom plane in BP?
Thanks in advance.
I ended up using C++. Is there really no BP equivalent to this?
FBodyInstance* pBodyInstance = meshComponent->GetBodyInstance();
pBodyInstance->CustomDOFPlaneNormal = FVector(1.0f, 0.0f, 0.0f);
I have no idea what I’m going with C++. Can we put in a feature request to add this to blueprints? @Unreal
Nevermind. I was able to achieve what I needed thanks to an old post:
"So all you need to do to make this work is:
Thanks to @kylawl
Good to know, @NotSoAccurateNo1 .