1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
- .. _class_VehicleBody:
- VehicleBody
- ===========
- **Inherits:** :ref:`PhysicsBody<class_physicsbody>` **<** :ref:`CollisionObject<class_collisionobject>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Member Functions
- ----------------
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_mass<class_VehicleBody_set_mass>` **(** :ref:`float<class_float>` mass **)** |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_mass<class_VehicleBody_get_mass>` **(** **)** const |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_friction<class_VehicleBody_set_friction>` **(** :ref:`float<class_float>` friction **)** |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_friction<class_VehicleBody_get_friction>` **(** **)** const |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_engine_force<class_VehicleBody_set_engine_force>` **(** :ref:`float<class_float>` engine_force **)** |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_engine_force<class_VehicleBody_get_engine_force>` **(** **)** const |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_brake<class_VehicleBody_set_brake>` **(** :ref:`float<class_float>` brake **)** |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_brake<class_VehicleBody_get_brake>` **(** **)** const |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_steering<class_VehicleBody_set_steering>` **(** :ref:`float<class_float>` steering **)** |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_steering<class_VehicleBody_get_steering>` **(** **)** const |
- +----------------------------+------------------------------------------------------------------------------------------------------------------+
- Member Function Description
- ---------------------------
- .. _class_VehicleBody_set_mass:
- - void **set_mass** **(** :ref:`float<class_float>` mass **)**
- .. _class_VehicleBody_get_mass:
- - :ref:`float<class_float>` **get_mass** **(** **)** const
- .. _class_VehicleBody_set_friction:
- - void **set_friction** **(** :ref:`float<class_float>` friction **)**
- .. _class_VehicleBody_get_friction:
- - :ref:`float<class_float>` **get_friction** **(** **)** const
- .. _class_VehicleBody_set_engine_force:
- - void **set_engine_force** **(** :ref:`float<class_float>` engine_force **)**
- .. _class_VehicleBody_get_engine_force:
- - :ref:`float<class_float>` **get_engine_force** **(** **)** const
- .. _class_VehicleBody_set_brake:
- - void **set_brake** **(** :ref:`float<class_float>` brake **)**
- .. _class_VehicleBody_get_brake:
- - :ref:`float<class_float>` **get_brake** **(** **)** const
- .. _class_VehicleBody_set_steering:
- - void **set_steering** **(** :ref:`float<class_float>` steering **)**
- .. _class_VehicleBody_get_steering:
- - :ref:`float<class_float>` **get_steering** **(** **)** const
|