Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Physics api changes and Oimo fixes #761
Two new functions were added to the physics engine (for low-level manipulations):
Oimo now uses Quaternion rotation only, and initialized rotations correctly. It is also partly restructured.
Small bug fix for Cannon.js plugin that will appear if the mesh's center of mass is not in the middle.
Scene's enable physics function - gravity is optional. It will be set to the default if the function will be executed with no parameters at all.
All tested with the Gravity scene from the samples.