Thanks for the answer! The method you described is also very convenient and looks good. However, the game I’m working on right now is a way in which the user moves freely in one large level, and then gets on a small train moving fast along a path set on the map. And I want the user to be able to get off the train and jump nearby whenever he wants.