载入中...
搜索中...
未找到
CombatMotionWarp.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
7#include "common/Result.h"
8
9namespace eve::combat {
10
16 double desiredDistance = 1.2;
17 double maxTranslation = 0.15;
18 double remainingBudget = 0.6;
19 bool horizontal = true;
20 bool facing = true;
21
23 [[nodiscard]] Result<void> validate() const;
24};
25
33
40public:
42 [[nodiscard]] static Result<CombatWarpResult> solve(const CombatWarpRequest& request);
43};
44
45} // namespace eve::combat
3D action-combat character controller.
#define EVENGINE_API_BACKENDS
Definition Export.h:108
const GltfImportRequest & request
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Pull the attacker toward a standoff distance without exceeding per-tick or remaining budgets.
Finite 3D combat vector.
Input for one deterministic motion-warp solve.
Result< void > validate() const
Reject non-finite poses, distances or budgets.
Owning warp delta that callers add to root motion or position.