Vectrosity help

Ive drew a circle! :slight_smile: lol

anyways I need to add a collision detection to it. Vectrosity lines and circles are actual gameobjects so there should be a way. But I cant figure out how to add a collider component to it.

edit: more specifically, its not really collision detection I need, What i need is the ability to cast a ray against it, so i can detect it and select it,

You can add basic colliders easily by script:

for(var x : int = 0; x < objects.length; x++) {
   var collider : BoxCollider = objects[x].AddComponent(typeof(BoxCollider)) as BoxCollider;
   // do extra setup with collider
}

You’ll then need to write a script to capture touch/mouse input, do a raycast and see if it hits one of the colliders on your object. There’s bound to be some sample code out there for setting this up.