You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to make a bottle that spills water after being thrown and hitting something. -
What is the issue? Include screenshots / videos if possible!
I dont want the water to be at the position where the bottle hit something, I want it to hit the ground right below it. Example: A water bomb is thrown and it hits a wall. I dont want the water to be floating on the wall. I want it to be at the ground below it. I dont know how to do a raycast like this. What if the bottle is oriented? Will the ray’s direction be the Y axis of the bottle or the world’s Y axis. I want the ray to go down regardless the orientation of the bottle.
I dont know how to properly set a ray’s direction. Please explain in an easy manner. I am a very noob dev and cant understand the language of higher beings.