Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I detect what surface a bullet hit?

Asked by 6 years ago

I'm trying to create a bullet hole to where the bullet hits, and I tried to do this but cloning a bullet hole part to the position of where the bullet touched, but in doing so the bullet hole tilts and doesn't look real. Thank you very much if you answered!

0
If you are using a billboard GUI as the bullet hole, I think they have a property that follows the player where ever they move. This could be your problem. GottaHaveAFunTime 218 — 6y
0
Raycasting NexanianStudios 91 — 6y
0
You might want to get the normal of the surface the bullet hit and use that vector in order to tilt the bullet hole accordingly. As NexanianStudios mentioned, you can use ray casting to get the normal of the surface.  RayCurse 1518 — 6y
0
Yeah I don't really want to get to ray casting, because my math level isn't that high so its very hard for me to understand, would there be another method, and thank you for answering. Mr_MilkysButler 47 — 6y
0
There isn't really another efficient way of doing it that i know of... turtle2004 167 — 6y

Answer this question