2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Include a comment that explains the humanness check

Following a suggestion from @branan, I've added a comment that points out
that the controller makes a different sized kinematic actor if the
armature is human (male or female)
This commit is contained in:
2012-12-21 23:11:59 -05:00
parent d3ea8fe333
commit 155e329fec

View File

@ -1993,7 +1993,11 @@ bool plArmatureMod::ValidatePhysics()
return false;
if (!fController)
fController = plPhysicalControllerCore::Create(GetTarget(0)->GetKey(), fPhysHeight, fPhysWidth, (fBodyType == kBoneBaseMale || fBodyType == kBoneBaseFemale));
{
// The kinematic actor is made taller if the avatar is human (male or female)
fController = plPhysicalControllerCore::Create(GetTarget(0)->GetKey(), fPhysHeight,
fPhysWidth, (fBodyType == kBoneBaseMale || fBodyType == kBoneBaseFemale));
}
if (fController)
{