Is there anyway to resize the KinematicBody2D node to fit the sprite?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By carbajosa

Is there any way to resize the kinematicbody2d container to fit the sprite? It has an enormous space around them and I am only using a small sprite, 16x16 to be exact.


Actually, it doesn’t matter the size of kinematicbody. It will not affect at all any physics aspect or other related.

gtkampos | 2018-10-29 19:52

Yeah, but with the size of the kinematic node makes it hard to select objects on the screen. It’s impossible to select the next two sprites beside it because it overlaps. I can only select them from the node tree.

carbajosa | 2018-10-30 02:13

:bust_in_silhouette: Reply From: flurick

It looks like future versions of Godot will solve this by not show the size of the KinematicBody2D at all. So trying alpha 3.1 could be an answer, depending on if anything breaks in your project.

Well, since I’m mostly just prototyping, might as well use the alpha. It does fix the bug, which is great.

carbajosa | 2018-10-30 02:19