Make Actor Move Randomly

carlblanchetcarlblanchet Member Posts: 755
edited July 2012 in Working with GS (Mac)
Hey all!

How could I get an actor to move around the scene that also turns, and circles in random directions.
ie: the movements of a fly or bee.

Thanks! :D

Comments

  • OskarDeveloperOskarDeveloper Member Posts: 533
    edited July 2012
    Simple way is to use timers, change attribute self.motonX and Y to how you need it to move then add a timer "after for example 1 sek" change attribute self.motionX and Y to 0 then add a new timer "after 1.2 sek" go some where else :P They are sooo many was to make this better but this was what i could come up with right now :)
  • imjustmikeimjustmike Member Posts: 450
    You can also use the random function in the expression editor to set a range for these attributes
  • OskarDeveloperOskarDeveloper Member Posts: 533
    edited July 2012
    @imjustmike Yeah that will work too! :D
  • carlblanchetcarlblanchet Member Posts: 755
    @OskarDeveloper @imjustmike Thanks for help guys! I ended up with exactly what i wanted!! :)
Sign In or Register to comment.