Need help making a conveyor belt
I have a platform game using a custom platform movement and I want to add a conveyor belt. All I want to do is make the additional X velocity a certain amount to make the person move and when the person is not standing on the belt or is in the air above the belt, have the additional X velocity zero. The problem is, I can't get it to work. My character's additional X velocity changes even when he's not on the conveyor belt. When I try to limit the range the character has to be within the conveyor belt, he doesn't move at all. I have my conveyor belt have multiple animated objects right next to each other. This allows me to have more flexibilty when making the level. What is the best way to make a conveyor belt in a sidescroller using a custom platform movement?
Re: Need help making a conveyor belt
If you already have a "floor detector" for your player, you could use:
+ ( "floor detector" ) is overlapping ( "conveyer belt" )
- Set X( "Player" ) to X( "Player" )-1 (or +1 depending on which way the conveyer belt goes)
If you don't have a floor detector, just replace it with player.
Re: Need help making a conveyor belt