physics body to draw node

how to add physics body to draw node

Look at js-tests for some examples. I’m not sure if there is a physics one. Cpp-tests has physics examples.