Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cpos = get_parent().currentActor.position
- position = lerp(cpos, position, lDist)
- lDist -= 0.05
- if lDist <= 0:
- lDist = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement