Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Project Files : https://www.patreon.com/posts/56301561 .  In this episode of  unreal engine third person shooter series, we are going to see how to get the exact aiming location given by the middle of the reticle/ sniper scope when we have a camera shake. Previously we used the camera location and forward vector calculated based on control rotation to calculate the point in world space to get aiming location. But after we adding wobble effects and shake effects for the sniper scope view using camera shake class, the aiming location didn't match with the middle of the screen as the previous calculation didn't take into account the offset in location or rotation caused by the camera shake. So, we are going to change the aiming location calculation using a deproject screen point to world space method..

project files : https://www.patreon.com/posts/63654325

Files

Previews only

Unreal Third Person Shooter #105 - Aiming Location with Camera Shake

Project Files : https://www.patreon.com/posts/56301561 . In this episode of unreal engine third person shooter series, we are going to see how to get the exact aiming location given by the middle of the reticle/ sniper scope when we have a camera shake. Previously we used the camera location and forward vector calculated based on control rotation to calculate the point in world space to get aiming location. But after we adding wobble effects and shake effects for the sniper scope view using camera shake class, the aiming location didn't match with the middle of the screen as the previous calculation didn't take into account the offset in location or rotation caused by the camera shake. So, we are going to change the aiming location calculation using a deproject screen point to world space method. ► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧! https://www.patreon.com/codelikeme ►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits Full third person shooter series : https://youtube.com/playlist?list=PLNTm9yU0zou4HL7SAyIQoCqJRJ5QeQAl8 Join this channel to get access to perks: https://www.youtube.com/channel/UClb6Jh9EBV7a_Nm52Ipll_Q/join Like my facebook page for more content : https://www.facebook.com/gamedevelopersclub/ Follow me on twitter : https://twitter.com/CodeLikeMe2 Follow me on reddit : https://www.reddit.com/user/codelikeme #CodeLikeMe #unrealengine #ue4 #indiegamedev

Comments

No comments found for this post.