# Max distance for VinterpTo/RinterpTo node?

**URL:** <https://forums.unrealengine.com/t/max-distance-for-vinterpto-rinterpto-node/472896>\
**Category:** Editor Scripting\
**Tags:** setactorlocation, interpolation, unreal-engine, Blueprint, question\
**Created:** [October 14, 2020, 5:13am UTC](https://forums.unrealengine.com/t/max-distance-for-vinterpto-rinterpto-node/472896 "2020-10-14T05:13:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MinuteMa1d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MinuteMa1d](https://forums.unrealengine.com/u/MinuteMa1d)\
**Post date:** [October 14, 2020, 5:13am UTC](https://forums.unrealengine.com/t/max-distance-for-vinterpto-rinterpto-node/472896/1 "2020-10-14T05:13:04Z")

</div>

I have a set of fps arms that I interpolate to match the camera’s location and rotation smoothly. Is there a way to set a max distance that the arms can get from the camera? And same for rotation, as in clamping them? I’ve had this problem in the past, when the player is falling at a high rate of speed, the arms keep going up and up and eventually you can’t even see them anymore, hehe. I know this is possible with some math from the vectors, but I can’t think of what it would be

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [October 14, 2020, 5:52am UTC](https://forums.unrealengine.com/t/max-distance-for-vinterpto-rinterpto-node/472896/2 "2020-10-14T05:52:02Z")

</div>

Hi! If you are using USpringArmComponent then you can try to use CameraLagMaxDistance property.
