Hello, I have a problem I dont really understand myself. I have a character that move in a basic manner and can collide(In a very bizzare way but still collide) with wall. That Being said, I need that my console detecte this collision and even if the wall bloc him, their seem to have no collision detection.I put that in my player script
void onCollisionEnter(Collision col)
{
if(col.gameObject.name==“wall”)
{
print(“zut”);
}
}
and there is no print do.
the game objet is write correctly, in fact , I have a laser actor who have a pretty similar line in his script and there is no detection problem with the laser, when he hit the wall, there is a print, but when my player collide, no print at all, any idea what is happening%?