Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

It might be with the order of your ray casts. You are performing two separate ray casts, one for reflection and one for checking gem collisions, which could cause this. Instead, you should combine the reflection check and gem collision check into a single ray cast.

just figured out im using the wrong layer,now im changing the layer and everything looks perfect!Thanks for your help!

No problem! Glad you fixed it!