Unity ray casting giving weird results
so I need ground checking in my game to see if you are touching the ground or not. but when I do the ray cast it says that I'm only grounded when I look in a specific place. like if it only checks when I'm looking in a perfect number of degrees. i am very new to coding in unity and i have no knowledge on what culd be the problem. here is a snipet of my code. just ask me if you need everything:
(this is run in Update())
7 Replies
Sounds like a question for $unity to be honest.
alright
ill post it there then
👍
i just dont know where
phys or somewhere else
¯\_(ツ)_/¯
No clue. I don't do unity.
but what you are asking for is specific to the unity engine, not a C# problem itself
:/