fix small mistake in EnhancedCcd

This commit is contained in:
Layla
2025-12-22 22:15:21 +00:00
parent 7a3cccfcb4
commit 592575afe5

View File

@@ -310,6 +310,9 @@ sealed public partial class Rigidbody : Component, Component.ExecuteInEditor, IG
set
{
if ( field == value ) return;
field = value;
if ( _body.IsValid() ) _body.EnhancedCcd = value;
}
}