Let me explain my question in detail. I would like to let the radius of the sphere can be updated in each frame, because I am using Kinect V2 to get the radius value, and it will be updated continuously during the capture, the value captured from Kinect will lead to the radius value change so the sphere size will change as well in runtime. For the sphere collider, it is easy to find that there is a radius can be change, but the mesh looks tricky, all I can notice is the “scale” variable and there is no radius variable for mesh.
Plan B: I can create a sphere collider and keep updating its radius, but how can I make it visible? Like create a mesh for collider which is exactly same size as the sphere collider. How can I do that?