K
K
kyryliukbogdan2020-03-31 13:43:45
Android
kyryliukbogdan, 2020-03-31 13:43:45

How to make it so that when colliding with an object falling from top to bottom, the character does not hit it?

On the question itself, I think nothing is clear. I'll try to explain: Coins spawn from top to bottom, the character is at the bottom. When a coin flies at a character, it hits him and only then disappears (I wrote a script where when a character collides with a coin, it disappears), that is, I want to make a coin a trigger, but so that it falls to the ground and does not fall through it. That is, for a character, a coin is a trigger, for the earth it is not. It is better to send the video to telegram for understanding.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2020-03-31
@xmoonlight

As an option:
1. Remove the rigged-body from the coin
2. Check the collision separately: for the character - add something to the counter of coins, for the ground - set zero speed on the object of the coin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question