Page 1 of 1

Submarine underwater speed

Posted: Thu Dec 17, 2015 10:36 pm
by exe
Hi,

I would like to change the submarine's underwater speed without changing its surface speed. I thought that would be an easy task but I can't find the correct line of code. :?

Thanks!

Re: Submarine underwater speed

Posted: Thu Dec 17, 2015 10:58 pm
by Diamondback
Only way I see of doing this would be to have a giant obstacle object (such as barbwire for soldiers) that is placed at the bottom of the sea. This obstacle object would somehow be coded to slow down the vehicle and would not have any effect on the submarine when it is still at the surface.

Re: Submarine underwater speed

Posted: Fri Dec 18, 2015 10:18 am
by Swaffy
Airplane engine? Since they don't work under water

Re: Submarine underwater speed

Posted: Fri Dec 18, 2015 12:07 pm
by Seth
And if you want to increase your underwater speed you can have a second engine, c_ETShip, positioned above the water line when surfaced.

Re: Submarine underwater speed

Posted: Sat Dec 19, 2015 4:00 pm
by exe
Thanks for your ideas, I'll try them.

Re: Submarine underwater speed

Posted: Mon Dec 21, 2015 7:57 am
by Swaffy
Seth wrote:And if you want to increase your underwater speed you can have a second engine, c_ETShip, positioned above the water line when surfaced.
This might change the movement physics since the force is coming from a different location on the vehicle. But worth playing with.

Re: Submarine underwater speed

Posted: Sat Jan 23, 2016 7:38 pm
by exe
Seth wrote:And if you want to increase your underwater speed you can have a second engine, c_ETShip, positioned above the water line when surfaced.
This works and it's also very easy to do, thanks a lot. Thread marked as [SOLVED].