Quantcast
Channel: Questions in topic: "gun"
Viewing all articles
Browse latest Browse all 592

Rotate child of FPS when camera moves on Y-axis

$
0
0
I have a First person controller with a gun as a child. When the FPS looks left or right, the gun moves with it so the gun is pointing in the direction the FPS is looking. Now, when the FPS looks up or down , I want the gun to rotate forward or back (to simulate the FPS looking down the sights of the gun). What FPS or Camera event can I tap into to achieve this?

Viewing all articles
Browse latest Browse all 592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>