- Home /
Object passes through another object one way but not the other?
I have a ball that will bounce when hitting a platform. I'm trying to make it so when it lands on another object it will not bounce and just land normally. My problem is if the ball bounces off the platform and hits the other object from below, it hits it like a ceiling and comes down like it should. However when going above the object and coming down onto it, the ball passes through with some noticeable impedance on the balls speed. Any idea how to fix this or what the problem may be?
Answer by Crumpet · Feb 12, 2019 at 03:09 AM
maybe use a box/cube collider instead
I changed the ball to a box collider and now it doesn't bounce when hitting a platform.
I meant use the box collider on the platform/ceiling. Not the sphere/ball
Answer by SnappleMessiah · Feb 12, 2019 at 03:52 AM
I used a circle collider AND a box collider and it fixed my problem.. oddly enough. I made the box collider small enough to not interfere with the bouncing on the platforms but large enough to not fall through the other objects.
Your answer
Follow this Question
Related Questions
Objects don't collide 1 Answer
Particles and 2D games 1 Answer
OnCollisionEnter2D Questions 0 Answers
3d Collision for 2d objects 1 Answer
Collision & 2D 2 Answers