protected override Body CreateBody(object data) { var body = BodyFactory.CreateEdge(WorldContext.World, InitialPosition.ToSimUnits(), EndPosition.ToSimUnits()); body.CollidesWith = Category.All; body.BodyType = BodyType.Static; body.IgnoreGravity = true; return(body); }