BGE Animations: Various fixes and bits of cleanup to get the action actuator to behave more like it did in trunk. The Pepper version is still more sensitive to pulses than the trunk version, but this is more accurate. I might try to address this, but I'm not sure.

This commit is contained in:
Mitchell Stokes
2011-07-05 05:22:02 +00:00
parent afd77d081a
commit ceabc6d119
8 changed files with 168 additions and 85 deletions

View File

@@ -399,6 +399,11 @@ void KX_GameObject::SetActionFrame(short layer, float frame)
GetActionManager()->SetActionFrame(layer, frame);
}
bAction *KX_GameObject::GetCurrentAction(short layer)
{
return GetActionManager()->GetCurrentAction(layer);
}
void KX_GameObject::ProcessReplica()
{
SCA_IObject::ProcessReplica();