S
S
Shallmick2021-04-21 11:45:28
Unity
Shallmick, 2021-04-21 11:45:28

Unity How to make an object react to a collision with a player only from below (like a block with a question in mario)?

Help please in Unity, I'm new.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CHIDWI, 2021-04-29
@Alexander_020

1. Make a small collider/trigger at the bottom of the object.
2. Make this collider/trigger on the character's head.
3. Calculate the motion vector of the object that is encountered.
I would choose the first option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question