How to Change Specific Pawn Orientation with ZED2 in UE5

I need to change the orientation of a specific selected pawn at a specific moment. I’ve tried using Set Actor Rotation and other rotation methods, but the pawn doesn’t behave correctly after rotation.

Has anyone successfully implemented pawn orientation changes with ZED2 integration? What’s the proper way to rotate a single pawn while maintaining proper tracking and control?

Thanks!

Hi,

What is the pawn you are trying to modify? It is the pawn that controls the camera or something else? How is it related to the ZED camera?

Stereolabs Support

When I refer to “pawn,” I’m specifically talking about the ZED_Manny. My issue is that I only need one specific ZED_Manny instance to be reversed/flipped in my application, not all of them. I’ve already identified this specific instance, but I’m looking for the proper method to reverse only this particular ZED_Manny while maintaining its tracking functionality.

Ok I see,

When you say the pawn does not behave correctly, what is happening exactly?

Stereolabs Support

I just need to know how to change the orientation of where the pawn is facing. In the attached image, the pawn is facing toward us/the camera, but I need it to face the opposite direction. I specifically need to change only this particular pawn’s orientation during runtime.

Thanks!

Hi,

Currently, It’s a bit tricky to do because we directly move the Joints of the skeletal mesh, and not the actor at all.
That means, the position/rotation of the actor itself is always (0,0,0). To apply the correct rotation, you need to take that into account.

When I have some time, I’ll probably change the implementation of the plugin to improve that part, and make it easier to work with.

Stereolabs Support