PrePhysics selection transaction joining buffered input to one authoritative execution. 更多...
#include <ClimbingInput.h>
静态 Public 成员函数 | |
| static eve::Result< ClimbingStart > | tryStart (ClimbingRuntime &runtime, physics::World3D &world, const ClimbingPose &pose, ClimbingIntent &intent, ClimbingCommand command, eve::SimulationTick tick, eve::SimulationTick lastGroundedTick) |
| Start the best candidate and consume its input edge exactly once. | |
详细描述
PrePhysics selection transaction joining buffered input to one authoritative execution.
Reads intent/body/definitions and synchronously borrowed Physics queries; writes intent and runtime only at commit. It performs no structural mutation and invokes no callbacks or scripts.
在文件 ClimbingInput.h 第 95 行定义.
成员函数说明
◆ tryStart()
|
static |
Start the best candidate and consume its input edge exactly once.
- 参数
-
lastGroundedTick Last authoritative grounded tick used for profile-configured coyote time.
- 返回
- Committed execution evidence, or a failure with both runtime and intent unchanged.
在文件 ClimbingSelection.cpp 第 193 行定义.
引用了 eve::Conflict, eve::climbing::ClimbingInputSystem::consume(), consumed, eve::climbing::ClimbingInputSystem::coyoteWindowState(), eve::climbing::Drop, eve::climbing::Eligible, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::climbing::ClimbingPose::grounded, eve::NotFound, eve::climbing::ClimbingInputSystem::peek(), pose, tick , 以及 world.
该类的文档由以下文件生成:
- src/modules/climbing/ClimbingInput.h
- src/modules/climbing/ClimbingSelection.cpp