Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Doesn't work collide function. #80

Closed
cplus98 opened this issue Dec 1, 2023 · 1 comment · Fixed by #79
Closed

Doesn't work collide function. #80

cplus98 opened this issue Dec 1, 2023 · 1 comment · Fixed by #79
Labels
bug Something isn't working

Comments

@cplus98
Copy link

cplus98 commented Dec 1, 2023

Describe the bug
The code is simple, but it doesn’t work.
It works well when set to GodotPhysics2D.

var circle1 := CircleShape2D.new()
var circle2 := CircleShape2D.new()
var result = circle1.collide(Transform2D.IDENTITY, circle2, Transform2D.IDENTITY)
print(result)

To Reproduce
The application terminates at the collision call.

Expected behavior
It should return true without any problems.

Versions (please complete the following information):

  • OS: OSX
  • Godot v4.2
  • Box2d v0.9.2
@cplus98 cplus98 added the bug Something isn't working label Dec 1, 2023
@Ughuuu
Copy link
Collaborator

Ughuuu commented Dec 2, 2023

I can reproduce it locally, I get a crash by calling that. Will investigate soon-ish.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants