M
M
Mayka-Obosrayka2021-02-27 01:51:48
Unity
Mayka-Obosrayka, 2021-02-27 01:51:48

unity object overlaps another one, how to solve the problem?

Hello! I have two 2D objects in the scene, one (lose) in front of the other (bullet), but in the game bullet is ahead of lose. I tried to set up layer queues, components. Nothing helps, but everywhere they write only about layers. I don't know much about unity, so this might be a dumb question.

spoiler
Немного уточню, у меня больше двух объектов на сцене, а эти два - проблемные

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Black Basher, 2021-02-27
@BlackBasher

Can you please send the transform of these components and a screenshot from the hierarchy. Does the position change anywhere in the code? I faced a similar problem recently, when the object was zoomed in, it didn’t help, I had to zoom out another

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question