How do I make an object that only passes through certain objects?
I'm trying to make a game where the player is avoiding obstacles while running away from a giant rolling ball. The obstacles don't kill you, just slow you down. When I test it, the ball gets slowed down by the obstacles, and sometimes even stuck. I tried to make the ball a trigger, but it just passes through the ground. How do I make it so the ball only passes through the obstacles and not the ground or the player?
Answer by tormentoarmagedoom · May 28, 2018 at 03:01 PM
You can fix via Rigidboy, one axys position, so ball will not "fall".
Or you can make the obstacle trigger, not the ball.
I tried to make the obstacles triggers, and it didn't work. I'm also not sure I understand the whole axys position thing you talked about. I looked in the rigidbody and I found nothing about and axys.
Your answer
Follow this Question
Related Questions
Trouble Respawning objects after colliding with trigger 0 Answers
Problems with using OnTriggerStay2d 0 Answers
ANIMATION TRIGGER DOESN'T PLAY 1 Answer
I can't figure out why a game object isn't being destroyed. 0 Answers
Get list of enemies in range 1 Answer