Box Trace isn't working correctly.
I'm trying to Spawn Pickup, but before spawning I do check for obstacles. If there is an obstacle then don't spawn pickup at that location.
1) Box Tracing For Objects shows Collision Occurs or Not correctly. But It still spawn Pickup. While I'm using Branch. If it returns true then don't spawn anything.
2) Since I'm trying Endless Runner game, I am spawning floor with a trigger. But Box Tracing shows those Red/Green wires for only first floor. Why it's not working for other floors?
P.S. I'm calling "Spawn Cherries" function inside "Construction Script" of Floor Blueprint.
Edit: Problem 2 has been solved. I was using "Relative Transform" instead of "World Transform".
Yeah, deleted one because I thought there was an error, but I forgot to plug in a node LOL
Transform is Location, rotation and Scale,
You would not need the other 2. Just location.
I started just replicating yours, where you had Transform as First Point.
We could easily change that to Location, instead of Transform.
Works, with multiple in level.
answered Jun 03 '15 at 07:50 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here