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
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
Good idea. I’ve created a ticket for this: DEF-1783