Hi all,
I’m getting this warning ( “TerrainColliders can no longer act as triggers since Unity 5.0”
) in my project ( using Unity 5 beta 14 ) when a WheelCollider collides with the terrain… This warning is getting a big percentual of my CPU computation and it’s slowing down my game’s instance. Can someone help me?
I got this warning as well, as temp fix I added a tag to terrain then added if statement so the block of code that causes the warning “if (!hit.collider.isTrigger)” wont compile if collider is terrain collider.
It would be useful to get the information whether the terrain collider has isTrigger enabled and whether you are able to disable it at all. If it is not possible to disable it, it is clearly a bug and should be reported.
We will be removing the warning caused by IsTrigger called on a TerrainCollider. In the future it will only warn if you try to set the property IsTrigger property on a TerrainCollider