Creates a new OimoPhysicsStrategy instance. Initializes the shared Oimo physics world if it doesn't exist yet.
Static__The shared Oimo physics world instance. All physics bodies are added to this single world for simulation.
Static__Global 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
Updates the associated entity's transform based on the physics body's current state. This method should be called each frame to synchronize the visual representation with the physics simulation results.
StaticupdateAdvances the physics simulation by one time step. This static method should be called once per frame to update all physics bodies in the shared world. It processes collisions, applies forces, and updates positions.
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.