Y
Y
Yura Mailler2021-01-14 20:06:34
Unity
Yura Mailler, 2021-01-14 20:06:34

How to cut through objects in a unit?

Hello! How to make such a thing so that when it touches, the object cuts (or makes a hole and you can go through) There is such a system in the Burito Bison game and in the game the hero can break through the wall, how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CHIDWI, 2021-01-15
@CHIDWI

There are several options.
1) Often 2 objects are made, one object is solid (with a solid mesh) which, when colliding with the hero, for example, turns off and instead of it, an already broken object with a mesh cut into pieces turns on, which scatters so spectacularly.
2) The option is simpler and is used more often)). Initially, you know where the walls and passages are located, turn them off at the moment of collision, and in this place turn on some spectacular pre-configured ParticleSystem thread. The effect is even often turned on earlier in order to hide the moment the barrier disappears.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question