Merge branch 'main' into feat/sparky-logic

pull/154/head
RuiAlonso 4 years ago
commit d99a4e25ce

@ -136,12 +136,10 @@ class PlungerAnchor extends JointAnchor {
@override @override
Body createBody() { Body createBody() {
final shape = CircleShape()..radius = 0.5;
final fixtureDef = FixtureDef(shape);
final bodyDef = BodyDef() final bodyDef = BodyDef()
..position = initialPosition ..position = initialPosition
..type = BodyType.static; ..type = BodyType.static;
return world.createBody(bodyDef)..createFixture(fixtureDef); return world.createBody(bodyDef);
} }
} }

Loading…
Cancel
Save