npruehs / ue4-rts

Real-time strategy plugin and showcase for Unreal Engine 4.
MIT License
747 stars 151 forks source link

Fire Projectile #25

Closed npruehs closed 7 years ago

HeadClot commented 7 years ago

Consider object pooling for the raycasts / projectiles for this feature. It will save allot of performance when allot of projectiles are on the screen.

https://www.raywenderlich.com/136091/object-pooling-unity

npruehs commented 7 years ago

Added in commit b1b53f386c78d925e5d0942646b2d7ba1a31f92d. Opened #41 for projectile pools.

HeadClot commented 7 years ago

Awesome :D