- Home /
Overlapping textures while colliding
I have problem when player push box his texture ovrlap with the texture of the box. I have made colliders little bigger than the objects, but this still happens. Is there any way to fix this? Here is the picture:
Can you take this same screenshot in Scene mode where the green collider boxes and such are visible?
In case you need to know how to do that: push the box while the game is running and hit the 'pause' button to pause the active scene and then switch to scene mode. This definitely looks like a collider issue--not a texture issue. Are you using a CharacterController to control the ghost or using a rigid body? Working with collisions like this--you really need to use a CharacterController--it's more robust. Trying to detect collisions with rigid bodies can be difficult when they are moving and often the collision isn't detected until after the collider has already 'collided' -- there are work-arounds to fix this--but please just use a Character Controller if you aren't.
I am not using character controller, because i dont know how properly to adjust it to 2D game, so I am working with rigid bodies. But thanks for advices, do you have any good tutorial about CharacterController for 2D games. Here is picture from scene:
Answer by error031 · May 20, 2014 at 11:12 PM
The problem was using transform.translate for moving, instead using rigidbody and Add force. Hope it will help somebody...
Your answer
![](https://koobas.hobune.stream/wayback/20220613141508im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Textures not applying properly. 0 Answers
Blender texture problem! 3 Answers
Raycast Collider 1 Answer
Laser Obstacle Course 0 Answers