briansemrau / godot_box2d

A C++ module that integrates the Box2D library with the Godot game engine by providing nodes for standard Box2D objects.
MIT License
44 stars 4 forks source link

odd behavoir when duplicating nodes, or perhaps some bugs in fixtures / shapes right now #35

Closed jordo closed 3 years ago

jordo commented 3 years ago

https://youtu.be/K0108nf3W-4

briansemrau commented 3 years ago

just curious, are you adding shapes from a script, and if so what's the code?

jordo commented 3 years ago

just calling duplicate() and adding

jordo commented 3 years ago
var new_body = $Box2DPhysicsBody2.duplicate()
self.add_child(new_body)
jordo commented 3 years ago

lol, ya i have some weirdness going on right now haha

briansemrau commented 3 years ago

From the video, it looks like what I would expect

jordo commented 3 years ago

should be able to close with capsule fix in #36

jordo commented 3 years ago

fixed with #36