I have an actor blueprint derived from Pawn. The root component is a box collider with physics and collision enabled; a child of that is a static mesh with no collision and no physics enabled.
Each tick, I get some world probes and control input and apply force and torque based on these inputs.
The actor responds well to Add Impulse calls, and collides properly with the world, so I believe the basics of setting up a physics actor are all taken care of.
My calls to Add Torque seem to have no effect. I can add torque around the Z axis using the A/D input axis. I can print the torque added, and I see on the screen that the torque is added (0,0,10000 or 0,0,-10000). However, the body doesn’t pay attention to this at all. I Add Torque to the box collider, just like I Add Impulse for W/S movement, and the Add Impulse works, the Add Torque does not.
What am I missing, and how can I debug this further?
Here’s the blueprint graph that works (add impulse)
Here’s the blueprint graph that doesn’t work (add torque, does nothing even though the print shows torque being added)