Skip to content

Commit

Permalink
added documentaion line for battery switch
Browse files Browse the repository at this point in the history
  • Loading branch information
sweiland-openrails authored and cesarBLG committed May 5, 2023
1 parent 5db05ff commit 832a396
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Documentation/Manual/physics.rst
Expand Up @@ -4315,7 +4315,8 @@ Three behaviours are available:

In real life, the battery switch may not
close instantly, so you can add a delay with the optional parameter
``ORTSBattery( Delay ( ) )`` (by default in seconds).
``ORTSBattery( Delay ( ) )`` (by default in seconds). When delay is used in combination with push buttons
you have to keep pressing the button until the battery is (dis)connected.

It is possible for the battery switch to be switched on at the start of the simulation.
To activate this behaviour, you can add the optional parameter ``ORTSBattery( DefaultOn ( 1 ) )``
Expand Down

0 comments on commit 832a396

Please sign in to comment.