# VelocityBasedRollingExtension

## GetFollowTargetVelocity

Get follow target's world-space velocity. Must check the returned FollowTarget's validity before using the velocity. Will return zero vector if the follow target is inavlid.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FU0gKAa8wR8ZBrrF9ztGV%2F1.png?alt=media\&token=2dff6117-bfac-4d13-ba4d-bad525ddea4b)

<table><thead><tr><th width="163.33333333333331">Input / Output</th><th width="140"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>VelocityBasedRollingExtension</code> target object.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Follow Target</td><td>Follow target owned by this camera. Can be invalid.</td></tr><tr><td></td><td>Return Value</td><td>Follow target's velocity. Can be zero vector if the follow target is invalid.</td></tr></tbody></table>

## StartRoll

Start rolling. Used when RollScheme is Manual. You can use the AsyncStartRoll node to do something when rolling completes. Cannot be paused. If you just want to normally start rolling, use this node instead. DO NOT mix-use these two nodes.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FhLzraD3gl4ktTtEOgiYv%2F2.png?alt=media\&token=360a8651-dcc8-4236-8d2e-2b578e908123)

<table><thead><tr><th width="163.33333333333331">Input / Output</th><th width="140"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>VelocityBasedRollingExtension</code> target object.</td></tr><tr><td></td><td>TargetRoll</td><td>Target roll, starting from current roll.</td></tr><tr><td></td><td>Duration</td><td>Rolling duraion, default is 1.0.</td></tr><tr><td></td><td>Blend Func</td><td>Function to control the smoothness of rolling.</td></tr><tr><td></td><td>Blend Exp</td><td>Blending exponential.</td></tr></tbody></table>

## AsyncStartRoll

Async start rolling from current roll. Used when RollScheme is Manual. You can use AsyncPauseRoll to pause or unpause rolling. If you just want to normally start rolling, use the StartRoll blueprint node. DO NOT mix-use these two nodes.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FV1lvn6pJQrFNARPuttrY%2F3.png?alt=media\&token=1f3ad58a-37cb-4e6c-8a0e-a472dc7da53d)

<table><thead><tr><th width="163.33333333333331">Input / Output</th><th width="140"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>VelocityBasedRollingExtension</code> target object.</td></tr><tr><td></td><td>TargetRoll</td><td>Target roll, starting from current roll.</td></tr><tr><td></td><td>Duration</td><td>Rolling duraion, default is 1.0.</td></tr><tr><td></td><td>Blend Func</td><td>Function to control the smoothness of rolling.</td></tr><tr><td></td><td>Blend Exp</td><td>Blending exponential.</td></tr></tbody></table>

## AsyncPauseRoll

Pause or unpause rolling for AsyncStartRoll. Used when RollScheme is Manual.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FXZJeslkXfLlADKyBQFnA%2F4.png?alt=media\&token=e37cb5e0-05bd-4e7e-9b8b-3be2c6ade5e8)

<table><thead><tr><th width="163.33333333333331">Input / Output</th><th width="140"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>VelocityBasedRollingExtension</code> target object.</td></tr><tr><td></td><td>Set Pause</td><td>Whether or not to pause rolling. False is resume.</td></tr></tbody></table>
