You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10. Godot 2.1.4.stable.
Issue description:
Poligon2D-Circle overlapping is inaccurate.
Steps to reproduce:
I create a CollisionPolygon2D and a CircleShape2D.
For the circle I create a script that changes the color when overlaps with something.
func _process(delta):
var num = get_node("Area2D").get_overlapping_bodies().size()
if num > 0:
get_material().set_shader_param("col", Color(0, 1, 0))
You can see in the following gif what I mean with inaccurate
It looks like you have a scale factor on Sprite, which in editor looks like a scale on the (child) collision shape, but that scale is reset in runtime. Duplicate of #7375. @akien-mga I suggest closing this.
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10. Godot 2.1.4.stable.
Issue description:
Poligon2D-Circle overlapping is inaccurate.
Steps to reproduce:
I create a CollisionPolygon2D and a CircleShape2D.
For the circle I create a script that changes the color when overlaps with something.
You can see in the following gif what I mean with inaccurate
Link to minimal example project:
godot.zip
The text was updated successfully, but these errors were encountered: