I am in lecture 135 now.

The Issue is that my UElog “OnHit” don’t show up when the projectile is hittting something. But I can compile successfully in VScode. I once moved the OnHit function in headerfile from private to public and it works. But now it doesn’t work again.


cpp file

And the projectile blueprint?

Uploading: 屏幕截图(7).png…

Could you describe what happens when you fire the projectile?

I can’t see my UElog “OnHit”.

Does the projectile get spawned? Does it go through the floor? Does it just stop?

Privacy & Terms