Shell Side Collision

Video to help: https://www.reddit.com/r/gdevelop/comments/1elkn62/shell_side_collision/

Since I started making games at gdevelop I have this question, how do I detect collision only on the sides of an object? I want i when the shell hits the wall on the right it flips and starts going to the left

Use custom points on the shell sprite, and when there’s a collision between the shell and a solid object, check whether one of the shell’s custom points is within the solid object using the “Point is in…” condition.

1 Like