updated to use physics plugin