Forum Stats

  • 3,828,179 Users
  • 2,260,870 Discussions
  • 7,897,506 Comments

Discussions

Java Puzzle Ball Basic #10

OTG-467455
OTG-467455 Member Posts: 506 Bronze Badge
edited Nov 10, 2017 5:01AM in Java Puzzle Ball

I think there is a slight issue with the basic puzzles # 10.   I have managed to solve all with the exception of 10.  The ball misses Duke by the breadth of a hair.   It almost seems as though the right most blue bumper is slightly out of place or Duke's glove arm is a bit shorter.

......can't be me!  Any ideas, clues?

Best Answer

Answers

  • TIM PETCHEL
    TIM PETCHEL Member Posts: 13
    edited Nov 9, 2017 10:35AM

    It was difficult but I managed to get through it. Sorry though, it was luck and I don't remember how I did it.

  • OTG-467455
    OTG-467455 Member Posts: 506 Bronze Badge
    edited Nov 9, 2017 1:01PM

    Well done.    But, I also find it difficult to remember how I solved the puzzle but it sure seems easier each time I try.

    It just seems that I miss it by a few pixels.

  • NickR2600-Oracle
    NickR2600-Oracle Member Posts: 530 Employee
    edited Nov 9, 2017 2:09PM Answer ✓

    Congratulations!  Yeah, discovering the solution for this one takes a bit of thinking (or luck). The effects of the rotation wall plays a big role in the solution.

    OTG-467455
  • OTG-467455
    OTG-467455 Member Posts: 506 Bronze Badge
    edited Nov 9, 2017 4:28PM

    Rotation wall is placed in the most logical position at 45 deg to horizontal plane of the ball.   Blower placed at 45 deg from top dead center.  Ball strikes rotation wall then veers off at 90 deg comes into contact bith blower stream and is pushed in the direction of Duke.  

    The ball passes within 1 pixel from Dukes glove.

    I have tried different combinations but this is the closest.

  • NickR2600-Oracle
    NickR2600-Oracle Member Posts: 530 Employee
    edited Nov 9, 2017 4:32PM

    This would be the rotation wall: pastedImage_0.png

    If a rotation wall is struck by the ball, it causes the bumper to rotate 90 degrees.  But the ball has to get a certain distance away from the bumper before the rotation can occur.  I had to program it this way, or else other attachments might slam into the ball while the rotation is occurring.

    OTG-467455
  • NickR2600-Oracle
    NickR2600-Oracle Member Posts: 530 Employee
    edited Nov 9, 2017 4:33PM

    Oh!  I should also mention that screenshot doesn't show the solution

  • OTG-467455
    OTG-467455 Member Posts: 506 Bronze Badge
    edited Nov 9, 2017 4:38PM

    What you just described is more than likely what occurred but with the rotation wall and blower not being visible on the playing area.   Your screenshot is the scenario I was trying to describe.   Other scenarios cause the ball at times to ping pong between bumpers.