Basically, in my game I have a sail-boat which always moves forward. I want it so that when I click, the sail-boat slows down a bit until I release that mouse-click (and it will then travel at its normal speed).
Sounds like an easy task, but I’m having quite a bit of trouble doing so. Does anyway know a way of doing this?
Thanks in advance
Use a motor for your boat, and when you click have a velocity go to 1 or something
Thanks for replying! I’ve tried using velocity and it hasn’t worked too well, I’m not quite sure what I’m doing wrong but it doesn’t seem to slow down the boat as fast as I’d like it to. Could you possibly provide an example? (Don’t worry if this isn’t possible)
Thanks again in advance
Please, post a link with your game and let us see it.
I made a behaviour that works
You can see it at:
http://flowlab.io/game/view/260168
The behaviour is in the boat object.
Ah thank you very much! This is exactly what I was looking for
COOL!! I’m glad to be able to help you.