class_vehiclebody.rst 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_VehicleBody:
  4. VehicleBody
  5. ===========
  6. **Inherits:** :ref:`PhysicsBody<class_physicsbody>` **<** :ref:`CollisionObject<class_collisionobject>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  13. | void | :ref:`set_mass<class_VehicleBody_set_mass>` **(** :ref:`float<class_float>` mass **)** |
  14. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`float<class_float>` | :ref:`get_mass<class_VehicleBody_get_mass>` **(** **)** const |
  16. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`set_friction<class_VehicleBody_set_friction>` **(** :ref:`float<class_float>` friction **)** |
  18. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`float<class_float>` | :ref:`get_friction<class_VehicleBody_get_friction>` **(** **)** const |
  20. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`set_engine_force<class_VehicleBody_set_engine_force>` **(** :ref:`float<class_float>` engine_force **)** |
  22. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`float<class_float>` | :ref:`get_engine_force<class_VehicleBody_get_engine_force>` **(** **)** const |
  24. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_brake<class_VehicleBody_set_brake>` **(** :ref:`float<class_float>` brake **)** |
  26. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`float<class_float>` | :ref:`get_brake<class_VehicleBody_get_brake>` **(** **)** const |
  28. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  29. | void | :ref:`set_steering<class_VehicleBody_set_steering>` **(** :ref:`float<class_float>` steering **)** |
  30. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`float<class_float>` | :ref:`get_steering<class_VehicleBody_get_steering>` **(** **)** const |
  32. +----------------------------+------------------------------------------------------------------------------------------------------------------+
  33. Member Function Description
  34. ---------------------------
  35. .. _class_VehicleBody_set_mass:
  36. - void **set_mass** **(** :ref:`float<class_float>` mass **)**
  37. .. _class_VehicleBody_get_mass:
  38. - :ref:`float<class_float>` **get_mass** **(** **)** const
  39. .. _class_VehicleBody_set_friction:
  40. - void **set_friction** **(** :ref:`float<class_float>` friction **)**
  41. .. _class_VehicleBody_get_friction:
  42. - :ref:`float<class_float>` **get_friction** **(** **)** const
  43. .. _class_VehicleBody_set_engine_force:
  44. - void **set_engine_force** **(** :ref:`float<class_float>` engine_force **)**
  45. .. _class_VehicleBody_get_engine_force:
  46. - :ref:`float<class_float>` **get_engine_force** **(** **)** const
  47. .. _class_VehicleBody_set_brake:
  48. - void **set_brake** **(** :ref:`float<class_float>` brake **)**
  49. .. _class_VehicleBody_get_brake:
  50. - :ref:`float<class_float>` **get_brake** **(** **)** const
  51. .. _class_VehicleBody_set_steering:
  52. - void **set_steering** **(** :ref:`float<class_float>` steering **)**
  53. .. _class_VehicleBody_get_steering:
  54. - :ref:`float<class_float>` **get_steering** **(** **)** const