Answer the question
In order to leave comments, you need to log in
How to solve this border bug?
The essence of the question is this: I have a scene (2d), on it is a frame + a cube inside it. The cube can move (there is no gravity). The cube has colliders and a rigidbody, the frame is just a collider. When I hold down the move down button and the cube reaches the frame, it does not completely stop, but starts to "twitch" trying to pass through this frame. Is there any way to solve this problem? I tried to check the coordinates of the cube to prevent it from going that far, but if the border changes, then the code will stop working normally. Can you please describe in detail the easiest way to solve it? (I'm new to Unity, don't judge too harshly). If needed, I can add more.
Answer the question
In order to leave comments, you need to log in
why troubles? at the top we have a cropped picture. You raise the bottom block up through a negative margin. To this block you throw a white triangle on before
We draw a block in PS with the same angle, export it to svg, set a background for before/after to the next/current block. If the option does not fit, you need to know why it does not fit and watch the design in its entirety.
Да убрать убрать угол у картинки не составит труда, хотелось бы как то так блок сверстать. Чтобы без заморочек с картинками с админки выводить. В оригинале там еще один блок наложен, тоже не стандартный. Вот и не знаю с какой стороны подойти
Попробуй верхнему блоку задний фон изображением задать
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question