- Home /
3d Collision for 2d objects
I am making a 2D game with 3D Map and the collision is not working.
please, help me ,I am making a project with a 2d character and a 3d wordl .but the colision with the 3d object is not working
Help me!
Answer by xxmariofer · Jan 22, 2019 at 09:30 PM
2d objects and 3d objects cant collide never, you have to do some hacks for getting collisions between them, you can just add a boxcollider (3d box collider not square) and that will detect collisions, remember that atelast one of the objects needs to have a rigidbody (must be 3d rigidbody) for getting the collision events in code :)
im making a game with 2d characters and 3d map the collision of the map is not working
Oh i am really sorry it feels the answered i did to another particle post was copied to yours and has nothing to do with your problem, i will edit the comment later, 2d objects and 3d objects cant collide never, you have to do some hacks for getting collisions between them, you can just add a boxcollider (3d box collider not square) and that will detect collisions, remember that atelast one of the objects needs to have a rigidbody (must be 3d rigidbody) for getting the collision events in code :)
Your answer
Follow this Question
Related Questions
so uhh.. how do you make sprites for the 4.6 UI? 2 Answers
Switching Between "Dimensions"? 1 Answer
How do I make a 2D character/npc follow the player using texture offsetting 0 Answers
Making sprites just rotate and not tilt. 3 Answers
Orthographic Camera 3D Object Rendering Issue (Clipping), What's wrong? 3 Answers