Hello I’m new to unity and C#, i did a little Java some times ago but i cant remember almost anything.
In this project i have 3 objects: the floor , the player and its child (the sphere) at its feet, to check the collision with the floor.
i want the collision check between the floor (tagged as ground) and the sphere to be inside the script of the player for knowing if it’s grounded, but i dont know how to refer at the sphere inside the player’s script. What is the code line for checking the collision?
oh by the way, if it changes something, the sphere is not tangible