Make a shadow of an AI appear and disappear
I am wondering how would I make a shadow of an AI/ghost appear through a window then disappear, I have been trying for a few days now and don't know what to do.
To clarify: I only want the shadow to be visible, I do not want the mesh or physical object to be visible in game. So in the end, a player should see a shadow of something for a few seconds and then the shadow should be gone.
asked Feb 06 '18 at 03:26 AM in Blueprint Scripting
As far as I know it's not possible. Problem is that the lighting of AI characters is calculated at runtime and if the object is set to be invisible, it's not going to be calculating a shadow because there is nothing to calculate a shadow from.
answered Feb 09 '18 at 07:35 AM
That is the thing. I know how to turn shadows on and off so I thought I could answer this but it wont work if the mesh itself is not visible.
Best thing my mind could come up with is if you don't care if the Ai is actually there to cast said shadow then I would just make a black decal with default settings as it would give the illusion of a shadow in the shape of your Ai Char and then spawn it and De-spawn it as needed giving you the illusion of a shadow. Might even be able to animate it if your good with materials and animations.
Let me know if this will work for you and I can guide you further.
answered Feb 09 '18 at 04:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here