feat(runtime): commit dormant SetPosition activation
This commit is contained in:
parent
99f867f053
commit
5785a07b3e
13 changed files with 4674 additions and 111 deletions
|
|
@ -1156,6 +1156,13 @@ public class PlayerMovementControllerTests
|
|||
candidate.CaptureMovementResult(mouseLookEvent: false));
|
||||
Assert.Throws<InvalidOperationException>(() => _ = candidate.PhysicsBody);
|
||||
|
||||
candidate.BeginDormantSetPositionGroundPhase();
|
||||
Assert.Throws<InvalidOperationException>(
|
||||
candidate.CommitRuntimeActivationFrame);
|
||||
Assert.Throws<InvalidOperationException>(
|
||||
candidate.ActivateRuntimePublication);
|
||||
candidate.EndDormantSetPositionGroundPhase();
|
||||
|
||||
candidate.ActivateRuntimePublication();
|
||||
Assert.Same(body, candidate.PhysicsBody);
|
||||
_ = candidate.CaptureMovementResult(mouseLookEvent: false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue