Hi, I’ve been trying my hand at unreal engine 5 but have come to a problem. I’ve made a simple ball to kick around but it keeps disappearing when I move into it, any idea why?
Hey there @drayfus! Is the ball just being launched incredibly far very quickly? You could check this by printing the location of the ball every couple of seconds like this:
or in game you can hit F8 and find it in the outliner, then hit F in the viewport to move to it (or look at the details to see where it is locationally)
This will tell us if it was destroyed by going too far too fast.
How much does the ball weigh?
How much Force are you pushing the ball with?(you can find this in the Character BP in the details here:)
Yeah I create a slow tick in the begin play for testing these. So Begin play, print string, delay, out of delay I go back into print string to loop it over and over every 0.2 of a second. Set the print string duration to 0.2 so it just has 1 print on screen updated every 0.2 of a second. Then have an append for the print. Have the first value "Local = " and the next value printed is the world location of the ball. Then the next have ". Velo = " and get component velocity for the next pin. Then "Vis = " and get the ball’s visibility. You can maybe get the scale and other things too that could be happening. But every 0.2 of a second, you’ll know exactly what’s going on. You can then print screen when it disapears to see exactly what it says.
Hi, so I had an idea of what this was before hand but thought I’d be thorough for the experience. Firstly I made a platform out of a cube, put the ball on the surface, started play, kicked the ball and it didn’t disappear. When I went on the other surface after the ball and kicked it, it disappeared. I tried the other stuff just so I’d know and the z minuses hard. I’m pretty sure it was the surface being a plain that caused the problem. thanks for the help.