So I set the collision for an object in my physics game to "collision polygon". But when the player collides with it, it collides with the bounding box of the object instead. Any ideas on how I could fix this?
Did you change the collision box of your rock to actually follow the shape?
By default collision boxes are the same as bounding boxes.
Yeah I did. as you can see in the first image, the collision polygon is fitting the shape. albeit a little jagged, but I'm fine with that.
Do you have any other behaviors besides physics on your objects?
I also have platforming on the player object so it knows when its on the ground and I have a solid behavior on the other object. I tested it without the solid or the platforming and it didn't work.
As a general tip, mixing physics with other movement behaviors is a bad idea.
construct.net/en/make-games/manuals/construct-3/behavior-reference/physics
It's hard to say what could be going wrong in your project. I can only guess but your player might have a lot of empty space around it in the image file, which is accounted into the sprites bounding box. So you either have to get rid of the extra space around the player or set the player collision to collision polygon aswell.
If it isn't that you'll have to post the project file.
I haven't played around with the physics too much. But, looking at your collision lines in your screenshots. It looks like the sprite would jump onto the rock, and then tumble off?
Develop games in your browser. Powerful, performant & highly capable.
Yeah that's the idea