mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Refactor avatar movement code
plMovementStrategy classes have been reworked and completely replace all plAvatarControllers. While based on the old implementation, plPhysicalControllerCore has essentially been rewritten. Remnants of long gone physical "actions" have been removed. 4 files removed - plAVCallbackAction.h & plAVCallbackAction.cpp plAntiGravAction.h & plAntiGravAction.cpp This revision will not compile, requires new plPXPhysicalControllerCore implementation.
This commit is contained in:
@ -52,7 +52,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plAGAnimInstance.h"
|
||||
#include "plAGModifier.h"
|
||||
#include "plMatrixChannel.h"
|
||||
#include "plAvCallbackAction.h"
|
||||
#include "plPhysicalControllerCore.h"
|
||||
#include "plAvatarMgr.h"
|
||||
|
||||
// global
|
||||
@ -671,7 +671,7 @@ bool plAvOneShotTask::Process(plArmatureMod *avatar, plArmatureBrain *brain, dou
|
||||
if(fEnablePhysicsAtEnd)
|
||||
{
|
||||
#if 0//ndef PLASMA_EXTERNAL_RELEASE
|
||||
if (!humanBrain || humanBrain->fCallbackAction->HitGroundInThisAge())
|
||||
if (!humanBrain || humanBrain->fWalkingStrategy->HitGroundInThisAge())
|
||||
{
|
||||
// For some reason, calling CheckValidPosition at the beginning of
|
||||
// an age can cause detectors to incorrectly report collisions. So
|
||||
|
Reference in New Issue
Block a user