Im a total noob, so this might be a easy fix.
I have problem to edit the collision mask on a object.
My goal is, a very simple kids game where you staple things, blocks n stuff.
I have a bridge shaped object. But it seems like i cant change the collision mask.
What i have done so far, is to add the physics 2 behaviour, and physics drag behaviour on the block.
Then ive changed from box to polygon shape in physics 2. And edit the collision mask in properties.
I drag out the object onto the scene, but it still acts like a square.
I just want to get the basic, how do i fix collision mask?
please explain like im 5, im going crazy
Hi - to set up the physics2 collision mask …select polygon, then import the image of your bridge and click the plus in the bottom right of the screenshot to add a coordinate. You cant have concave polygons - see second pic you’ll get a warning about it as soon as you do. You need to make sure that the physics origin corresponds to the origin on your sprite
Thank you so much, its working. I totally looked over that part since i had to add a temporary image for the plus sign to work haha
1 Like
I have another question you might be able to help me with. How could one do a U form on the collision mask? Since you cant do a angle that goes in. And it seems like i cant add a second mask on the object?
My goal is just to have a bridge block you can oull around and staple.
for physics 2 you’ll need to combine two objects together i think as you cant add another mask. you can use link objects or directly set the x,y and angle to the 1st object or i think you could create a custom object.