Physics

Discussion in 'Technical Discussion' started by Bob S, Sep 15, 2018.

  1. Bob S

    Bob S Boxer

    Joined:
    Sep 15, 2018
    Messages:
    8
    Likes Received:
    0
    I am trying to figure out how to apply bounce to a ball that is "NOT" the Character. I am looking at creating a game similar to Breakout where you control the bar and the bouncing ball uses physics to bounce off of the Character and knock things over above it. I'm not making a Breakout clone so I'm not looking to make a no gravity game. I need gravity.

    But my simple request and I've not been able to find this in any post or online anywhere where I can create a ball, make it a physics object, and let it drop to the ground and bounce up off of the ground. I feel like I'm missing something obvious but I've spent an hour or so trying to figure this out and I can't make this work.

    Anyone know how to do this?
     
  2. DanFarfan

    DanFarfan Avid Boxer

    Joined:
    Sep 22, 2018
    Messages:
    101
    Likes Received:
    42
    I'm new also, but I think I just did what you asked about.
    Open BB3
    New Game
    Double click the example called "Bounce"
    Put a new asset into the Library (aka list of objects for your game)
    (I don't think it matters which. I selected the Tube).
    Get to the flow chart editor page by double clicking on the Actor (far left. above the list of Objects)
    Click once on the "Move" node.
    Press keyboard copy ( ctrl C or cmd C )
    Navigate to the flow chart of the new object, press keyboard paste ( ctrl V or cmd V )
    Do the same copy paste to get the Bounce node to the new object.
    Connect them in the new object the way they were connected in the Actor asset.
    Preview .. both should be bouncing. Worked for me.

    Good luck
    Dan
     

Share This Page