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

Content

In this episode of the Unreal engine helicopter flying system, I am going to implement a bullet pooling mechanism based on the object pooling pattern. The idea is, instead of spawning and destroying bullets when we shoot from the helicopter, we hide and keep the bullet in an array after moving to the hit surface and when we need to shoot again, an already available bullet object is re-used. This approach is good for performance because we avoid unnecessary spawning and destroying of actors. 

.

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

Files

Previews only

Unreal Engine Helicopter Flying #15 - Object Pool Pattern - Bullet Pooling

Project Files: https://www.patreon.com/posts/59953897 . In this episode of the Unreal engine helicopter flying system, I am going to implement a bullet pooling mechanism based on the object pooling pattern. The idea is, instead of spawning and destroying bullets when we shoot from the helicopter, we hide and keep the bullet in an array after moving to the hit surface and when we need to shoot again, an already available bullet object is re-used. This approach is good for performance because we avoid unnecessary spawning and destroying of actors. ► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧! 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.