Simple but probably complex question here:
Can you have your player character cast different effect based on the terrain they are standing on?
such as when standing on grass they can cast ability A and when on dirt they cast ability B
an example being when on snow they shoot a snowball and when in the water they shoot a constant stream of water
my idea was to make areas within this area A happens, but I was considering the procedural terrain idea and perhaps if somehow checking the terrain player is on cast A?
I’m hoping someone with some insight as to how that could be done without being heavy on CPU and lowering frames.
Thank you in advance!
(also, hoping to have many different types of terrain - dirt, grass, snow, rock, sand, water(river or by lake), etc…)