add physics to example2
add physics to example2