Spinning object attached to another moving object?

Discussion in 'How Can I...?' started by Perry, Jan 24, 2016.

  1. Perry

    Perry Avid Boxer

    Joined:
    Oct 4, 2015
    Messages:
    111
    Likes Received:
    31
    What I want to do is have a spinning blade attached to the end of an arm that travels up and down the side of the screen. Unfortunately, when items are linked, the Parent movement cancels out the childs.

    Is there any hack or way to achieve this?

    Thank you for any hints!
     
  2. Perry

    Perry Avid Boxer

    Joined:
    Oct 4, 2015
    Messages:
    111
    Likes Received:
    31
    Anybody??
     
  3. Perry

    Perry Avid Boxer

    Joined:
    Oct 4, 2015
    Messages:
    111
    Likes Received:
    31
    Is there anyone here who knows how this can be achieved?? Anyone? Bueller?
     
  4. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,811
    Likes Received:
    1,025
    Whatever logic your using to move the arm duplicate it for the blade?
     
    Christoph likes this.
  5. Perry

    Perry Avid Boxer

    Joined:
    Oct 4, 2015
    Messages:
    111
    Likes Received:
    31
    @heathclose Then both objects would be moving up and down, but the blade would not have any rotation applied to it. I want the blade to spin, while the arm is moving up and down the play field along the side of the screen.
     
  6. jigglybean

    jigglybean Avid Boxer

    Joined:
    Nov 3, 2015
    Messages:
    270
    Likes Received:
    125
    Can't you make a separate blade and use the connections to attach it? Make the blade a wheel so it can spin(if its not an enemy) or make it an enemy and change its Y velocity to -90 or something along those lines to make it spin? Don't make it a physics object, or it will just fall.
     
  7. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,811
    Likes Received:
    1,025
    @Perry Did you get this figured out? Can you share how?
     
  8. Perry

    Perry Avid Boxer

    Joined:
    Oct 4, 2015
    Messages:
    111
    Likes Received:
    31
    @heathclose I have not gotten this to work yet. I have tried every possible combination I can think of and still no luck. The closest I have gotten is setting the blade to a wheel with speed and torque set, but then it only spins for a moment, then stops, then spins again, then stops.
     
  9. Perry

    Perry Avid Boxer

    Joined:
    Oct 4, 2015
    Messages:
    111
    Likes Received:
    31
  10. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,234
    Likes Received:
    696
    It is also possible in BB1:
    1. Create an arm that travels up and down
    2. At the end of the arm place a decoration object - this will be your pivot point
    3. With the Link tool connect the arm to the pivot point starting from the arm
    4. Add the blade as an enemy and set it to a physics object, no collide
    5. With the link tool connect the pivot point and the blade, starting from the pivot point
    6. Click on the new link and set Speed to 5 or -5 depends which direction you would like your blade to be rotated
    7. Make sure your blade has exactly the same position as the pivot point - You can achieve this easy with entering the position information using your keyboard instead to dragging the object with the mouse
     
    tweettopix and Perry like this.
  11. Perry

    Perry Avid Boxer

    Joined:
    Oct 4, 2015
    Messages:
    111
    Likes Received:
    31
    You sir, are a genius!! This worked perfectly. Thank you so much!
     
    heathclose likes this.

Share This Page