- Home /
Getting Objects from CheckSphere
All right, so I'm trying to affect any objects that are within range from my player object. I'm doing this using the Physics.CheckSphere, but I can't find a way to actually affect the objects within this sphere. My idea looked like this: if(Physics.CheckSphere(transform.position,AttractionRange)) PullInOrbit(collider);
Any idea how to make this work? Thanks in advance.
Comment