Physics improvements

- better rigid bodies management
- fixed bug with several dynamic rigid bodies