Spawned Logs Not Visible?

Hi everyone! In the following video I show what my logs should look like. In the top left it shows how much wood the player currently has. As you’ll see I start out just picking up the logs everything is fine. But when I chop my tree, no logs appear. Yet my wood counter goes up by the correct amount as if there were logs? I’ve tried moving the log spawn points further out thinking I was picking them up before they had a chance to visually spawn but as you’ll see in the video that did not help either. Am I missing something?


Below is my code for chopping trees and spawning logs. Thanks for any help!

Hey there @DojaRico! I actually do think your original though is the correct one, but it might be for a different reason! When the logs spawn, you mentioned you’d moved their spawns so they don’t overlap the player on spawn right? My next thought would be to ask if I can see the code you use to pick up the logs and add them to your score. The reason I ask is that often users don’t differentiate what collision would cause something to happen and just check for any collision instead of checking for only player collisions.

Oh my that makes a whole lot of sense. I have it set to “on component begin overlap”-> “destroy actor” ->”add wood” +5. So based off your logic that would mean maybe the tree spawning itself is overlapping and causing them to not appear

So I’d verify it’s colliding with the player and not just anything:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.