Answer by Screenhog
You can't just put BoxCollider.size like that. You first need to tell Unity which BoxCollider to use. It won't just look for the BoxCollider on that object without you telling it to. var bc :...
View ArticleAnswer by aldonaletto
There are several wrong things here! RequireComponent.BoxCollider(); // should be @script RequireComponent(BoxCollider);! var mat : UnityEngine.Material; var materialscale : Vector3; function Start() {...
View Article
More Pages to Explore .....