I am working on a robotics simulation application in Unity. I want to replace the default physics engine, PhysX, with Mujoco. My goal is to enable a toggle within the Unity application to switch between using PhysX and Mujoco. Mujoco privesprovides better realism for certailcertain scenarios, but iI also want to leverage Unit'sUnity's default capabilities for simpler tasks.
Currently, I am new to Unity and have limited experience, so I would appreciate guidance on the following:
- What fundamental concepts or features of Unity and Mujoco should I learn to address this problem effectively?
- Are there any tutorials, documentation, or examples that demonstrate replacing Unity's physics engine with Mujoco?
How can I integrate Mujoco so that I can use it instead of PhysX, in a way that still lets me switch back to PhysX when needed?
- Do I need to duplicate assets, scenes, or environments to implement both physics engines, or is there a more efficient approach?
Do I need to duplicate assets, scenes, or environments to implement both physics engines, or is there a more efficient approach?
Any advice, resources, or pointers would be greatly appreciated!