Hi all, I’m trying to implement a system where object’s shadow are always under the object. Think the shadow having the exact x and y as its parent object, with only the y being the difference.
Gameplay wise, this enables mechanics such as warning a falling meteor is about to smash on a ground on a particular spot.
I tried positioning the sun directly above the player, but can’t quite get it to work. The shadows always projects sideways while in the air.
Short of writing my own shadow system, which brings its own complexities, had anyone tried doing something similar and figured out a way?