1- Hi, guys i want to set , if enemy team comes on restricted area, player gets warning and dies in 3 secs. (Only for enemy team, our team can step on)
2- How i can set water reflections if player steps on water gets animated you know.
1- Hi, guys i want to set , if enemy team comes on restricted area, player gets warning and dies in 3 secs. (Only for enemy team, our team can step on)
2- How i can set water reflections if player steps on water gets animated you know.
depends on the area.
If every character in each team already has the way for you to check who is who you can simply check just that “onbeginoverlap” using a large area encompassing the spawn. And accordingly apply instadeath/teleport whatever you see fit.
reflections are one thing, Reacrive Water is a whole different one.
For reflections as you asked you simply add sphere reflections or box reflections (or planar reflections) around the map’s water area and make sure you add the proper peculiarity level for PBR water to your water shader.
For reactive water, you have to setup quite a few things.