4
« on: December 03, 2014, 03:57:37 AM »
Hi, I have the following setup:
3D scene
1. Non-NGUI static object with a box collider.
2. NGUI sprite with a box collider, and a rigidbody attached.
When I start the game the sprite falls right through the box collider. Collisions are set up properly in the layer collision mask. The layers are also set properly to they should collide.
If I make a regular cube, add a rigidbody to it and launch the game, the cube collides properly with the collider. However if I add a NGUI sprite component to the cube it stops colliding. If I then remove the sprite from the cube it won't collide as well.
As I understand, NGUI changes some physics settings internally (Collider/Rigidbody?). What can I do to make the sprites collide properly with other static colliders?
Thanks.