Hi,
i have script that accesses GO and then i try to modify collider radius - GO has sphere collider attached:
var Pony01 : GameObject;
function Start () {
Pony01.collider.radius = 0;
}
and i get and error:
Assets/SCRIPTS/P04/FairyControl.js(122,25): BCE0019: ‘radius’ is not a member of ‘UnityEngine.Collider’.
How do i fix that??
Thanks