From d5a111e9ff6e6dda5d3529941982980b9bd08998 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Tue, 19 Aug 2025 08:29:50 -0500 Subject: [PATCH] set isAtRest report to read-only --- Engine/source/T3D/rigidShape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/T3D/rigidShape.cpp b/Engine/source/T3D/rigidShape.cpp index 00acc3cbe..98aec96e8 100644 --- a/Engine/source/T3D/rigidShape.cpp +++ b/Engine/source/T3D/rigidShape.cpp @@ -1688,7 +1688,7 @@ void RigidShape::initPersistFields() docsURL; addField("disableMove", TypeBool, Offset(mDisableMove, RigidShape), "When this flag is set, the vehicle will ignore throttle changes."); - addField("isAtRest", TypeBool, Offset(mRigid.atRest, RigidShape), + addProtectedField("isAtRest", TypeBool, Offset(mRigid.atRest, RigidShape), &defaultProtectedNotSetFn, &defaultProtectedGetFn, "Debug read of the rest state. do not set"); Parent::initPersistFields(); }