Difficulty painting the physics layer on TileSets

Godot Version

Question

How can I select another image, for example the stump in the screenshot, without applying the same rectangular shape I just applied to the table?

I can select the stump, then undo (CTRL+Z) to reapply the previous shape (notice it’s correct on the right image) but the rectangular shape from the table is applied on the left. Is there a way to click on an image and have it show what was originally on the right, if that makes sense?

Well, I would just do the collision for every item by itself, basically hopping through these.
Unless, of course, you can rotate the collision box to fit in.
It’s probably just simpler to do it that way
Have a great day

Since you basically edit the shape of the “brush” on the left side and then apply it to the tiles by clicking on them it keeps the shape until you change it.

However you can always rotate or reset it to the basic, tile-filling shape.

image

I’m not sure if this answers your question, please elaborate on what exactly you want to achieve if it doesn’t.

1 Like

I was having the same problem and @acenixton provided the advice I needed to figure things out. Here is the procedure that is needed (for Godot 4.2):

  • First, be in the TileSet tab
  • Then change the tab from Select to Paint
  • Then select the Physics Layer
  • Then select the tile on the right that you would like to draw the shape over/around. That way, on the left, you can have something to trace over.
  • Then, on the left, zoom in or out on the tile you just selected and then use the Add Point toolbar button to add points.
  • Then, go back to the right and click on the tile that you want to paint and it will be painted with that collision shape.
  • If you want to make a new collision shape for another tile, click on the new tile on the right. It will then be painted with the old collision shape- that’s ok, you’re about to fix that.
  • Go back to the left and the new tile should be displayed.
  • Zoom in or out as necessary and then paint the new collision shape.
  • Go back to the right and click on the tile where you want the new collision shape to appear. Do NOT click on any other tiles or you will update their collision shape!!!
  • Now you should have two tiles with two different collision shapes!!!
    For those of you who say, duh!, I have to tell you that this was not at all obvious to me!!! I hope this helps someone!
1 Like