mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
set isAtRest report to read-only
This commit is contained in:
parent
5ea10f1cfc
commit
d5a111e9ff
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue