Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 2.06 KB

File metadata and controls

47 lines (28 loc) · 2.06 KB

SmartShape2D - FAQ

Why aren't my textures repeating?

If your textures aren't repeating and look something like this:

Non-Repeating-Texture-IMG

The issue is most likely that you need to set the texture's import options in Godot:

Import-Texture-Settings

Why isn't my shape updaing when I change the Light Mask?

Each shape is currently rendered by multiple-subnodes (Children Node2Ds). Their owner isn't set, making them invisible in the editor (unless you have debug mode on).

Unfortunately, there is no accessible signal when changing the Light Mask setting in editor. That means changing the Light Mask setting in editor won't trigger the children nodes to change THIER Light Mask

The Shape nodes CAN update their children's light mask, they just need to be triggered to do it manually. If you update the shape in any way, the shape will update its children's light mask.

When playing the game, the render Node children are regenerated, ensuring that the light mask will be set correctly.

The actual shape has set_light_mask overloaded, so changing the light_mask in code should work without issue

If you need to manually tell the shape to update its rendering, call the set_as_dirty() method

If anyone has any insights on this issue, please feel free to open an issue on this subject and let us know how we might be able to fix it

Why does changing the width look so ugly?

Changing the width of the quads generally looks best with welding turned off.

If welding is on, you can still change the width of the quads, but you may need to play with it a bit. It's best that you change the width gradually in small increments instead of sharply. Sharply changing the width will result in odd looking shapes.

Non-perspective rendering to a non-parallelogram is kinda tough

If anyone has any insights on this issue, please feel free to open an issue on this subject and let us know how we might be able to fix it