• Bullet penetrations decals
    1 replies, posted
I'm currently working on bullet penetration on my weapon base. I notice that M9K does not have decals on both sides of doors, it has an entry point and where the bullet finally lands. I'm wondering what the most efficient way would be to implement 2 sided decals. Thus far I have achieved the same kind of effect as M9K. Current steps: Trace from players eyes to a really far number Create a bullet structure to ignore the entity that the first trace hits Create a decal where the bullets HitPos would have been to account for the entity being ignored by the bullet How I'm thinking of going forward: Use the endpos of the trace from the players eyes to back track and put a decal through anything we passed through to achieve double side peneration Repeat making traces until we get back to the initial traces start pos I'm not sure how efficient it would be to 'back track' with a bunch of traces or even if it's a good way of achieving what I want. Thanks in advance.
i think you could start the new trace using hit position multiplied by some number to make sure it is behind the door/whatever, and set the end pos of it to normal vector of first bullet trace and check if it hits something.
Sorry, you need to Log In to post a reply to this thread.