Treadmill/Conveyor Belt??

hello
just a quick question, does anyone know how to create the physics for a treadmill or conveyor belt. I just cant seem to figure it out. Any help would be appreciated.
thanks

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited July 2013
    For a conveyor belt:

    rule:

    condition: when your actor overlaps or collides with your conveyor belt

    behavior: move actor in whatever direction and speed you want

    that should do it.
  • gamesfuagamesfua Member Posts: 723
    @jayedhouse just to piggy back on @jamie_c comment:
    You can have an attribute that multiple actors look at.
    So for instance you could make an attribute called "SPEED"
    Then assign that speed attribute to the conveyor belt.
    Now on your actor atop the conveyor belt, assign their speed to the attribute of Speed.
    At this point both the conveyor belt and the actor atop it are referencing the same speed value.
    What's great about this is now you can alter the speed at any time and both conveyor belt and object atop it, will move accordingly.
    So if you had a button for instance that could increase or decrease the speed of the conveyor belt- all of the objects would update their speed accordingly.
  • BredhouseBredhouse Member Posts: 11
    okay I will try it out, thanks a lot for the feedback
  • BredhouseBredhouse Member Posts: 11
    The only thing I have to do now is to make a person running on the treadmill, and you use two different buttons to control the legs, and i'm struggling with it. Any ideas??
Sign In or Register to comment.