mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00: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:
@ -1993,7 +1993,11 @@ bool plArmatureMod::ValidatePhysics()
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!fController)
|
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)
|
if (fController)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user