Move An Object Side To Side?

Discussion in 'How Can I...?' started by spacerain, Dec 5, 2016.

  1. spacerain

    spacerain Boxer

    Joined:
    Dec 4, 2016
    Messages:
    42
    Likes Received:
    6
    I'm trying to make an enemy move to the right a certain distance, then move to the left the same distance, then back to the right the same distance in an endless loop. How do I make it do that, while keeping the same speed?
     
  2. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    You drag in your world, 2 Transform Tool ,One in start one in finish(from where to wheere you want enemy to move) you set to start `Linear Velocity` as speed , 1 or 2 or 3 ,`Affected asset`->your enemy name and Affected Operation->`Replace`...for finish if you want to return set them with `-` (Linear Velocity -1) and also set `Scale Modifier` with -1 (or what is the size of your enemy)
     
    spacerain likes this.
  3. spacerain

    spacerain Boxer

    Joined:
    Dec 4, 2016
    Messages:
    42
    Likes Received:
    6
    That worked, thanks!
     
    blad300 likes this.

Share This Page