I have a character (an enemy) that is a tank/robot and he has a cannon, I’ve set the blueprints in a way that when the robot is seeing the player, the cannon points to the character (I used a “find look at angle” node and set the bone rotation to this angle in the anim blueprint).
But I want the cannon rotation to be limited, not completely free in all 360 degrees.
I can’t find any way to limit this rotation. I thought about using clamp to limit each angle (pitch, yall and roll), but the rotation is in world space so that wouldn’t work. If there was a way to set limits directly to the bone in the skeleton, that would be really great.
Any suggestions?
Hello! You can add constraints in Physics asset for you skeleton. Take a look at that PhAT: Introduction to Constraints | 03 | v4.2 Tutorial Series | Unreal Engine - YouTube