Quantcast
Viewing all articles
Browse latest Browse all 56

OnCollisionEnter problems

My apologies for asking such a simple question. I have this code attached to my character (FPS character controller): void OnCollisionEnter(Collision c) { print("hello"); } I've attached a RigidBody to both the character controller and a cube in my level. However the code is never triggered when I'm touching or standing on the cube.

Viewing all articles
Browse latest Browse all 56

Trending Articles