Hi, I’ve made a blood decal that gets spawned at the location of a particle collision, to cause a blood splatter effect. However, when the decal hits a wall mesh the effect is shown on both sides of the wall. I want the decal to only show on the side of the wall which the particle collides with. Is there any way of doing this to keep the spawned decal only showing on the correct side?
This is how I spawn the decal at the colliding location:
Ok that’s what I did and the decal no longer clips through the wall but because I have my particles spawning decals at the location of the particle collision the changing of the X value is causing my decal to look thin and stretched. :I
The Decal Size is to big and is projecting trough the wall. Try to put the Random Float in Range in the Z and Y in a Make Vector node and set the X to a smaller amount.
Thanks, I actually figured that bit out last night. Now my only issue is that the blood that hits both the floor and the wall tends to leak under the wall model and on to the other side because it’s recently projecting on to the floor first.
Is it at all possible to force the decal to bend to the angle of each object it lands on? So that shows as a splat at the point where it makes contact and goes no farther, bending to the shape of both the floor and wall models. Maybe then preventing the decal from appearing on the floor on the side of the room it was not spawned in. I hope that makes sense.
I know that postal 2 doses this all though that was made in UDK 2 or 3 I believe,
So if this can’t be achieved then my blood system will always show under the walls and on the other side instead of only showing on the surface faces touched. It would be a real shame as it would break any believability and thus look fake. any ideas? I wouldn’t even know where to begin.
Not sure how I would do that. But you could start by looking at Decal materials and try to find another solution to prevent the decal from projecting through the wall. Link
I found this Feature Request where he asked about the bending decals.