Toggle physics.debug at runtime (DEF-1783) (SOLVED)

Is there a way to toggle physics.debug at runtime, the same way I can toggle profiling info?

function on_input(_, action_id, action)
  if action_id == hash_debug and action.released then
    msg.post("@system:", "toggle_profile")
  end
end
3 Likes

Good idea. I’ve created a ticket for this: DEF-1783

1 Like

Fixed in 1.2.87: Defold 1.2.87 has been released

2 Likes