mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Fix edit error in plPXPhysical::ISetTransformGlobal, mismatched braces
This commit is contained in:
@ -859,9 +859,8 @@ void plPXPhysical::ISetTransformGlobal(const hsMatrix44& l2w)
|
||||
// are also kinematic but not kPhysAnim, therefore, this would break on PhysX
|
||||
// SDKs (yes, I'm looking at you, 2.6.4) that actually obey the ***GlobalPose
|
||||
// rules set forth in the SDK documentation.
|
||||
if(fActor->readBodyFlag(NX_BF_KINEMATIC))
|
||||
if (fActor->readBodyFlag(NX_BF_KINEMATIC))
|
||||
fActor->moveGlobalPose(mat);
|
||||
}
|
||||
else
|
||||
fActor->setGlobalPose(mat);
|
||||
}
|
||||
|
Reference in New Issue
Block a user