Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- position = initial_position + speed * elapsed_time
- position = position + speed * delta
- moved_distance = speed * delta
- position = position + moved_distance
- delta_in_seconds = delta_in_milliseconds / 1000.0
- moved_distance = speed * delta_in_seconds
- position = position + moved_distance
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement