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

Downloads

  • CodeLikeMe_Turret.rar

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

This is part 6 of the Turret system in unreal engine 5 using C++. Today, we are going to get started with the shooting mechanics of the turret. When the turret detects an enemy through the laser beam it emits, turret will start shooting at the pointed target. First, we will add a UParticleSystemComponent as the muzzle flash and add a variable that holds the sound effect of the shooting. Then we will implement the Shoot() function which activates the muzzle flash and the sound effect at the nozzle of the turret gun. This function will be called through a timer when a valid enemy target is detected and timer will be cleared when the target breaks the line of sight.

password=CodeLikeMe_CppShoot

Files

Previews only

Unreal Engine 5 C++ Tutorial - Turret #5 - Detect Enemies with Line traces

Project Files: https://www.patreon.com/posts/62798395 . This is part 6 of the Turret system in unreal engine 5 using C++. Today, we are going to get started with the shooting mechanics of the turret. When the turret detects an enemy through the laser beam it emits, turret will start shooting at the pointed target. First, we will add a UParticleSystemComponent as the muzzle flash and add a variable that holds the sound effect of the shooting. Then we will implement the Shoot() function which activates the muzzle flash and the sound effect at the nozzle of the turret gun. This function will be called through a timer when a valid enemy target is detected and timer will be cleared when the target breaks the line of sight. ► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧! 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 Adventure Tutorial Series: https://youtube.com/playlist?list=PLNTm9yU0zou5mxzKt2DUIE1QJSkGo7tvc Join this channel to get access to perks: https://www.youtube.com/channel/UClb6Jh9EBV7a_Nm52Ipll_Q/join Support my work: https://www.patreon.com/codelikeme 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.