mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Only apply height correction to human avatars.
This commit is contained in:
@ -1993,7 +1993,7 @@ bool plArmatureMod::ValidatePhysics()
|
||||
return false;
|
||||
|
||||
if (!fController)
|
||||
fController = plPhysicalControllerCore::Create(GetTarget(0)->GetKey(), fPhysHeight, fPhysWidth);
|
||||
fController = plPhysicalControllerCore::Create(GetTarget(0)->GetKey(), fPhysHeight, fPhysWidth, (fBodyType == kBoneBaseMale || fBodyType == kBoneBaseFemale));
|
||||
|
||||
if (fController)
|
||||
{
|
||||
|
@ -150,7 +150,7 @@ public:
|
||||
float GetHeight() const { return fHeight; }
|
||||
|
||||
// Create a new controller instance - Implemented in the physics system
|
||||
static plPhysicalControllerCore* Create(plKey ownerSO, float height, float radius);
|
||||
static plPhysicalControllerCore* Create(plKey ownerSO, float height, float radius, bool human);
|
||||
|
||||
protected:
|
||||
virtual void IHandleEnableChanged() = 0;
|
||||
|
Reference in New Issue
Block a user