Moving blocks/opjects up and down

Discussion in 'How Can I...?' started by dermonjo, Dec 5, 2015.

  1. dermonjo

    dermonjo Boxer

    Joined:
    Dec 3, 2015
    Messages:
    4
    Likes Received:
    0
    Hi there,

    first off: thanks for this awesome tool. I really enjoy working with Builbox.

    How ever, I came to a point where I really begin to despair.
    I want to create moving blocks or objects, but somehow, I'm just able to move the blocks in one direction.
    Lets say you've got a ground, set as an object and you want to move this block up and down. There is no way (thats why I created this post) to tell this box to move back after a fixed ranged in px. My goal is to move the ground up and down without ending on y axis.
    I tried literally everything. I thought there would be a way with physics, but my object just crosses the physics and nothing happens. Yes, I set this physics as "override".

    Would be glad if someone could give me a hint on this. :)

    Thanks!
     
  2. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    I'm not sure I understand completely. You want your ground to move up and down in a non stop loop?
     
  3. dermonjo

    dermonjo Boxer

    Joined:
    Dec 3, 2015
    Messages:
    4
    Likes Received:
    0
    Yes. :)
    Sorry, it's 9am and I haven't had a coffee yet!
     
  4. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Hmm ground move up and down? That's easy but can you send screenshot of what the design is to make it easier to understand
     
  5. dermonjo

    dermonjo Boxer

    Joined:
    Dec 3, 2015
    Messages:
    4
    Likes Received:
    0
    Image attached.
    So I've got this block and all it has to do is moving up and down in loop.

    [​IMG]
     
  6. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Use transform logic above each piece and below each piece. The piece above you have it change the ground velocity y to negative speed and the one below change the ground piece to a positive velocity speed. It will loop.
     
  7. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Yep just like @Machine Rises said, use transform logic to alter the Y-axis. You can also set it to ONLY move up when the xter approaches it at a certain distance or touches it :D

    If you get stuck, let me know
     
  8. dermonjo

    dermonjo Boxer

    Joined:
    Dec 3, 2015
    Messages:
    4
    Likes Received:
    0
    It works!
    Thank you so much. I've already tried with logics but I've missed the part where I have to link the logic object to the moving part. :D
     

Share This Page