Author Topic: Bots steering boats  (Read 1962 times)

I'm trying to have a bot drive a boat around a track, however, it is not working. The boat goes halfway or most of the way and the drives back to it's spawn.

Set the leash radius on the bot higher. It'll head back to it's spawn any time it goes beyond it's leash distance.

Set the leash radius on the bot higher. It'll head back to it's spawn any time it goes beyond it's leash distance.
I tried doing that, but the same thing happened. It doesn't always go back to spawn and I should've mentioned that

How are you directing it to travel around the pool?

How are you directing it to travel around the pool?
I spawn the boat in the boat. Then I use the goToBrick event to make the bot go to the zoneBrick. No matter what, the bot always goes halfway, no matter the distance.

I spawn the boat in the boat. Then I use the goToBrick event to make the bot go to the zoneBrick. No matter what, the bot always goes halfway, no matter the distance.
I meant bot in the boat, not boat in the boat

if it's always going halfway to the target, have you tried putting the target twice as far away as the zone brick?

if it's always going halfway to the target, have you tried putting the target twice as far away as the zone brick?
I haven't thought of that, but how would it know when to go to the next target?

I haven't thought of that, but how would it know when to go to the next target?
pretty sure there's a onbotreach target event, otherwise just use the zone bricks (don't move the zone bricks, just make a target brick)

I tried using both onBotReach and using a target brick instead of a zonebrick. None of them seem to work.

what does it do with the target brick?
does it path to the point exactly halfway from it and the target, a certain distance, or what does it do?

what does it do with the target brick?
does it path to the point exactly halfway from it and the target, a certain distance, or what does it do?
It moves towards the block but then stops before it reaches it. Most of the time it goes halfway but not all the time

I think I should also mention that the boat is scaled 0.200, that might be a reason why.