# RailFollow

## SetPositionOnRailWithDamping

Hard set camera position on rail with damping.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2Fr467pOtMSqzpuwEIUhCZ%2Fsetpositiononrail.png?alt=media\&token=fc46f3b1-229f-41cd-88cd-e61e20bdf7e1)

<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>RailFollow</code> target object.</td></tr><tr><td></td><td>Position</td><td>A floating number in [0,1] representing the position on rail.</td></tr><tr><td></td><td>Blend Time</td><td>A non-negative floating number representing the duration to get to Position.</td></tr><tr><td></td><td>Blend Func</td><td>Blend function.</td></tr><tr><td></td><td>Is Forward</td><td>Blending forward or backward from here to Position.</td></tr></tbody></table>
