Fixed it, lower camel case vs. Pascal case.
Hi there,
I'm trying to build a very simple VR prototype in Unity using LeapMotion. I have a scene with the Unity Chan character in it and I want to detect when the hands "touch the character" and subsequently trigger a certain animation. I've tried putting a Capsule Collider on the character, but the collision is not detected even though I can see my hands going through the character mesh when I play it on Vive. I did the same thing with a cube and a Box Collider and the collision is detected just fine. In my player.cs script I have the following detection code:
private void onTriggerEnter(Collider c)
{
print("Trigger detected");
anim.Play("WAIT04");
}
Any ideas on how to accomplish this? Thanks in advance for your help!