Creates a new OimoPhysicsStrategy instance. Initializes the shared Oimo physics world if it doesn't exist yet.
Static
__worldThe shared Oimo physics world instance. All physics bodies are added to this single world for simulation.
Static
__worldGlobal physics world properties shared across all instances. Contains gravity settings and randomization options.
Sets the rotation of the physics body using Euler angles. Recreates the physics body with the new rotation while preserving other properties.
The new Euler angles (in radians) to set for the physics body
Sets the world position of the physics body. Recreates the physics body with the new position while preserving other properties.
The new world position to set for the physics body
Sets the scale of the physics body. Recreates the physics body with the new scale applied to the original local scale while preserving other properties.
The scale factors to apply to the physics body's dimensions
Sets up the physics shape for the given entity with specified properties. Creates a physics body in the Oimo world with the provided configuration.
The physics properties defining the shape, size, position, and material properties
The scene graph entity to associate with this physics body
Static
update
Physics strategy implementation using the Oimo.js physics engine. This class provides physics simulation capabilities for 3D objects in the scene. It implements the PhysicsStrategy interface to integrate with the Rhodonite framework.