mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 07:26:10 +00:00
CFlyingPirate: Small fixes
This commit is contained in:
@@ -144,7 +144,7 @@ void CMetaree::Active(CStateManager& mgr, EStateMsg msg, float) {
|
||||
x450_bodyController->GetCommandMgr().DeliverCmd(CBCGenerateCmd(pas::EGenerateType::Zero, x584_lookPos));
|
||||
SetMomentumWR({0.f, 0.f, -GetGravityConstant() * GetMass()});
|
||||
} else if (msg == EStateMsg::Update) {
|
||||
x450_bodyController->GetCommandMgr().SetTargetVector(
|
||||
x450_bodyController->GetCommandMgr().DeliverTargetVector(
|
||||
(mgr.GetPlayer().GetTranslation() - GetTranslation()).normalized());
|
||||
} else if (msg == EStateMsg::Deactivate) {
|
||||
SetMomentumWR({});
|
||||
|
||||
Reference in New Issue
Block a user