So for past few years i always went with making guns hit by using line trace because whenever i make actor for bullet and send it flying from the gun actor doesn’t generate hit or when im using overlap it goes trough other objects (yes i did run destroy actor after overlap but it doesn’t work most of the time).
So can anyone explain to me how bullets like that are done in other games or give me some tutorial that explains it.
Add A collision component (sphere) and drag it on top of the scene component. This will replace the scene component with the collision as the Root component.
Adjust the Collision settings To Block everything you want to “HIT”.
Enable Simulation Generates Hit Events, Collision Enabled: Query Only
Yes but i have the issue of hit events mostly getting ignored and even tho object has collision sometimes will just pass trough even tho other times it won’t
You do not need to use CCD. PMC does a sub-step Sweep Collision checks by default. It does not miss if you’ve setup everything correctly.
The above projectile will work at insane speeds on sheet plane collisions. Mine has a collision radius of 0.5cm and tested on 0.1cm at 600,000cm/s velocities.