I’m making a Click-To-Move RPG, and I have a Spawner
GameObject that needs to detect whether the Player is standing inside it or not.
I used the SphereCollider
and RigidBody
components to detect if the Player is inside or not, but when I click the ground that’s covered by that Sphere Collider the Player won’t move there.
I tried setting isKinematic
to true
and false
, doesn’t seem to fix to problem.
How do I enable clicking over that Collider so that the Player is able to move there?