PDA

View Full Version : Lost on Boat Obstacle Course Exercise.


erco5
12-05-2014, 11:23 AM
Hey everyone,
I'm lost on how to make the toruses sink under water when the boat gets near them in the chapter 7 "Boat Obstacle Coure". I have set them to drop 10 meters, but for some reason they do it before the boat gets close to them. Basically, the world starts and all toruses sink. I set up a loop, a While, a Do together in various combos, but I just can't figure out how to make them disappear when the boat approaches.

After this, I still have to figure out how to make the score change. I'm feeling like this is something simple and i'm overthinking it.

Thanks for the help.

RavenOfCode
12-06-2014, 10:50 AM
Can you post the world? Im sure i could help if you did that.

sfunk
12-25-2014, 01:33 AM
By the sounds of it, you have your method to drop your obstacles activate when you start the world instead of using a logic statement with a threshold. you'll need to have an event "while the world is running" a method in the "during" slot that uses an if statement saying if the boat is within certain distance of obstacle, have obstacle move down