Hi,
Essentially I’m trying to make 3d interactive widgets so the player can look at weapons and items in their inventory from a menu and on certain pickups. I currently have to drag each render bp into the level but doing so drops my frame rate significantly.
Does anyone have any advise on how to do this without causing a massive drop in performance?
Hey there @DarkEmbrace96! If you absolutely have to have it as UI I would usually recommend only capturing the item once for all items that aren’t currently being manipulated, and only updating it if there’s changes to the item or is being moved, then you don’t need to consistently capture them. Turning off “Capture every frame” for the captures will help and then you can either set it to “Capture on Movement” or manually call the captures from your blueprint when you update the item.
a thankyou that makes sense. By have to use UI, do you mean that you could do this without it? The weapon you have selected would spin around like the old Resi games
Depending on how your game works, you could instead have your inventory in a different space, and actually fully render the item you’re viewing instead of using a capture, but that’s really only necessary if you have to interact with the item in it’s inspect window. Otherwise the scene capture method is fine, but only capture renders manually or when it moves to save some performance.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.