Im new to Unity. Im trying to set up two objects to collide with each other but im having trouble writting the code.
Is there anyone who can help with script or a link to a tutorial?
Im using C sharp
asked Jul 27 '10 at 04:10 AM
You don't code collisions, they happen automatically. You just need to add a Collider component to your game objects that you want to collide.
That's the reference for a BoxCollider, one of the common types of colliders.
If you're new to Unity, read through some of the links here:
answered Jul 27 '10 at 05:22 AM