Replace the mesh with your own mesh.
C++: SetActorLocationAndRotation();
Replace the mesh with your own mesh.
C++: SetActorLocationAndRotation();
How can I set an offset for the skeletalmeshcomponent of the character? I saw functions like AddWorldOffset or AddLocalOffset that “ADD” the specified vector as a delta offset to the mesh. In UDK there was SetTranslation() function, but I can’t find somthing similar in UE4.
I failed to mention that I’m talking about character skeletalmeshcomponent. I have a Z offset of -2.15 units when the character stands on the ground and I want to offset the mesh by that value. Since the value calculation is made every frame I need to set the translation every frame, that’s the reason why I can’t “add” the offset