The collision between the circle and capsule is not correctly.
cplus98 opened this issue · comments
Nam Byoung Chan commented
Describe the bug
var circle := CircleShape2D.new()
circle.radius = 1.0
var capsule = CapsuleShape2D.new()
capsule.radius = 1.0
capsule.height = 10.0
var trans_circle = Transform2D.IDENTITY
trans_circle.translated(Vector2(0, 5.0))
var trans_capsule = Transform2D.IDENTITY
var result = circle.collide(trans_circle, capsule, trans_capsule)
print(result)
To Reproduce
returns "false"
Expected behavior
It should return "true".
Versions (please complete the following information):
- OS: OSX
- Godot v4.2.2
- Box2d v0.9.9
Nam Byoung Chan commented
It was resolved in version 0.9.11.