From 9971993cdb560b76f42807b161f6645c850e2a36 Mon Sep 17 00:00:00 2001 From: Benjamin Nauck Date: Sat, 11 Feb 2023 21:38:33 +0100 Subject: [PATCH] Add support for implicit integrator type The `implicit` option was added in the IntegratorType enum. Using `@` prefix to avoid collision with reserved keyword. --- unity/Runtime/Components/MjGlobalSettings.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unity/Runtime/Components/MjGlobalSettings.cs b/unity/Runtime/Components/MjGlobalSettings.cs index ad8b7e0f..94675182 100644 --- a/unity/Runtime/Components/MjGlobalSettings.cs +++ b/unity/Runtime/Components/MjGlobalSettings.cs @@ -29,7 +29,8 @@ namespace Mujoco { // exactly what the documentation specifies: http://mujoco.org/book/XMLreference.html#option . public enum IntegratorType { Euler, - RK4 + RK4, + @implicit } public enum CollisionCheckType {