• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Precise collision shape using physics

Z

Ziphold

Guest
Is there a way to set the precise collision shape when using physics. I made a big terrain and when I want to set up a collision shape, (Modify collision shape), I cant add more than 5-6 points. I know it's bad performance wise, but I would like to know if its possible.
Setting precise collision shape in sprite does not work.

In advance-thank you.
 

Jezla

Member
Physics objects do not use the sprite for collision checking, they use fixtures. Fixtures are limited to 8 points (iirc), and cannot be convex. You can, however, bind more than one fixture to an object to make more complex shapes. If you're new to using physics, I'd really recommend going through the physics tutorials that come with GM:S.
 
Top