3rd person weapon constraints

What i want to do is shoot where the player is looking, but i dont want the player to be able to look 180 and shoot themselves. How can i add those constraints?


you’re using the camera to get your rotation [camera]-[GetWorldRotation] so it will fire in any direction the camera is looking

try using get control rotation [GetControlRotation] - you seem to be using the component Sawn in your BP for an offset location so just changing that node should work

video to help explain:
https://wiki.unrealengine.com/Unreal_Engine_4_Blueprint_QuickShot_-3-_Custom_Projectile

hope this helped & gl

actually, how do i rotate my character with mouse x? sounded simple but i cant seem to figure it out