Epic Developer Community Forums
How do I make my TPS character aim their gun at what the camera's looking at?
Development
Programming & Scripting
question
,
unreal-engine
Vineron
(Vineron.)
July 5, 2024, 1:25pm
1
image
1154×1150 69.6 KB
Currently as you can see they are pointing their gun elsewhere. I already have aim offset set up but can’t figure out the function to calculate the yaw and pitch values.
image
1261×485 143 KB