I have been messing around with different aspects of physics casting mainly sphere. My original understanding of it was that it castes a sphere from an origin using that origin as a center of a sphere. This seemed very useful for things such as Artificial Intelligence programming. But I have as of recent, found out this is not the case that from my second understanding is that it uses the origin as the edge of the sphere which of these is true if any and how would that look in a 3d space? would it be easier to have an animated trigger obj without an actual mesh rendering. thanks for any advice or answers.
As seen in the docs, the origin defines the center of the sphere starting point (as one would expect)
how it would look in 3d space? like a sphere, starting with the center at the origin point, moving in the direction designated…
there is no need for any mesh here, the spherecast does not use an actual mesh…
Example:
if you use the characters transform.position as the origin, and transform.forward as the direction, it might be something like this: