endPush
endPush(
step,character):void
Ends the push character holds, now, as its seconds running out
would: its ground speed is cut to the push’s endSpeed, and the
steer ramps it from there. One it does not hold changes nothing. Call
it from a predicted system, or with the room’s step for an end the
room decides, such as a stun. A respawn at a point ends a push
itself. As Unreal’s RemoveRootMotionSource, which applies the
source’s finish velocity as its own end does; named for that end
rather than a removal, since a push is held, not added under a key.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
step |
AuthoritativeStep | PredictedStep |
character |
Entity |
Returns
Section titled “Returns”void