Actor move back and forth across platform

bkhoward2001bkhoward2001 Member, PRO Posts: 86

What is the best way to get an actor to move back and forth on a platform in the sky?

Comments

  • Twayne2Twayne2 Member Posts: 458

    Is the platform moving? If not, then you can easily just make an actor called platform and go to physics and uncheck movable. Then it can't be moved.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    I'm not sure if this is what you're looking for but maybe?

  • bkhoward2001bkhoward2001 Member, PRO Posts: 86

    I have followed the video completely, however, my enemy does not stop after it is put in initial motion... it just keeps going and leaves the left side of the screen.... my patrol right rule seems to be having no effect....?

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    There must be an error in your behaviors somewhere. I have source files for that tutorial on my site at the link below. That might help you out.

    http://www.jamie-cross.net/?portfolio=gamesalad-recipe-007-enemy-behavior-patrolling#.WrRiFtPwYUE

  • bkhoward2001bkhoward2001 Member, PRO Posts: 86

    Once I deleted the expression and added it back, it then worked.... Not sure why though.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Glad you got it working!

Sign In or Register to comment.