Advertisement
Lucas_3D

Untitled

May 12th, 2022
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. dist = 1.92635
  2. pathStep = 0.1
  3. for i = animationRange.start to animationRange.end do
  4. (
  5. at time i with animate on
  6. (
  7. $aimPos.pos.controller.Path_Constraint.controller.percent = $masterPos.pos.controller.Path_Constraint.controller.percent
  8. while (distance $masterPos $aimPos < dist) do
  9. (
  10. $aimPos.pos.controller.Path_Constraint.controller.percent += pathStep
  11. if ($aimPos.pos.controller.Path_Constraint.controller.percent >= 100.0) do
  12. (
  13. $aimPos.pos.controller.Path_Constraint.controller.percent = 100
  14. exit
  15. )
  16. )
  17. )
  18. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement