I copied everything off of the unity guide and it just never activates.
#pragma strict
function Start () {
}
function Update () {
}
function onCollisionEnter(col:Collision){
print("Collision Detected");
}
I copied everything off of the unity guide and it just never activates.
#pragma strict
function Start () {
}
function Update () {
}
function onCollisionEnter(col:Collision){
print("Collision Detected");
}
I don’t use javascript but I do know that onCollisionEnter need a capital O at the beginning.