How would one make bullet piercing without fast cast or any other api?

BTW, im making it so a bullet hole will appear on the other side of the wall and another effect for realism

Yeah its something i realised though i think your main focus should be polishing the pierce feature and also improving the performance. Any sort of visual features should be the last thing you try and make.

EDIT: Saying this out of some experience :sweat_smile: I have focused on making so many visual features without a functioning game. Made a procedural animation system, without even needing to make one ;-;

Sometimes when piercing, it will keep on piercing itself and timing itself out, oops!

EDIT: The ray should cast from the weapon.

image
why did this work so well.

EDIT: my piercing method works now but the orientation is slighty off.

I have no idea did shoot through all of them XD

EDIT: Orientation can be fixed simply offsetting the initial destination of the bullet

Also the bullet ray after it hits the wall and pierces is really weird as it sometimes casts from a completely different position from the wall, i don’t know whats happening because i don’t have the script your using is it possible if you can show it?

Im gonna upload a vid of the piercing with multiple walls, give me a minute

it does have a few performance dips doing this

This looks insanely good!
Though do you also see the bullet effects? its VERY weird, but i think you should be able to fix that

Its because the server is processing alot

And as you could see, it offsetted itself

Hmm maybe remove the effect, it rather makes it unrealistic because bullets go very fast you wouldn’t be able to see with a naked eye

You mean the beam? If i do it becomes boring…

Yes i mean the beam because, it is rather silly looking if you ask me and just makes the performance drop even more. It’s necessary to think what features are necessary and whats not you can make a very realistic game but if it’s un playable then those features are worthless.

I guess your right, even if phantom forces and arsenal has these, it does drop performance.

Can i at least add a option to enable it on your client?

Actually i was just about to say that, you can add it via client side if you really want to. Its a visual feature so exploitation would be meaningless.

I had an idea, maybe depending on how far your shooting, it will show. e.g if your shooting over 200 studs it will show

Ah yes a game i know makes something similar its called AOT: Freedom Awaits.