dirt-racer/docs/html/car__physics_8hpp_source.html
2024-05-27 13:55:10 +02:00

286 lines
69 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Rally Rush: src/car_physics.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Rally Rush
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">car_physics.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="car__physics_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef CAR_PHYSICS_HPP</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define CAR_PHYSICS_HPP</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &quot;godot_cpp/classes/collision_shape3d.hpp&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &quot;godot_cpp/templates/hash_set.hpp&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &quot;godot_cpp/variant/rid.hpp&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;godot_cpp/classes/curve.hpp&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;godot_cpp/classes/physics_direct_body_state3d.hpp&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &lt;godot_cpp/classes/rigid_body3d.hpp&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegodot.html">godot</a> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html"> 13</a></span><span class="keyword">class </span><a class="code hl_class" href="classgodot_1_1CarPhysics.html">CarPhysics</a> : <span class="keyword">public</span> RigidBody3D {</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#ac41f70f08d8952958719e9556ae7fc84"> 14</a></span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ac41f70f08d8952958719e9556ae7fc84">GDCLASS</a>(<a class="code hl_class" href="classgodot_1_1CarPhysics.html">CarPhysics</a>, RigidBody3D);</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#afa92e1f841ef44c7eaae414379553bb6">_bind_methods</a>();</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#aab1079194a18237dda9fa3ace30393c5">_enter_tree</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ae00920473d8c0c024865d9884fa9bdb3">_physics_process</a>(<span class="keywordtype">double</span> delta_time) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a6f154119ecb043c07cd1e3cfaf591bca">process_oversteer</a>(<span class="keywordtype">double</span> delta_time);</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a46d1d22958970c96262c57b5f8050466">process_understeer</a>(<span class="keywordtype">double</span> delta_time);</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a74643a2cbcca15dda20e06645911a804">_integrate_forces</a>(PhysicsDirectBodyState3D *state) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a30d688252b9c7682a98f3d986bdc95f4">integrate_steering</a>(PhysicsDirectBodyState3D *state);</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a3255f52b8bef35439a44d8a165003cf7">integrate_engine_acceleration</a>(PhysicsDirectBodyState3D *state);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a738ef26f0b474d787bdf5c2c008e14e4">integrate_oversteer</a>(PhysicsDirectBodyState3D *state);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ae9bd5e0451772c39c23f953bf719b570">on_body_shape_entered</a>(RID body_rid, Node *node, <span class="keywordtype">int</span> body_shape_index, <span class="keywordtype">int</span> local_shape_index);</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ad00be124da13c4e0014191a9477017bc">on_body_shape_exited</a>(RID body_rid, Node *node, <span class="keywordtype">int</span> body_shape_index, <span class="keywordtype">int</span> local_shape_index);</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ae62724b5685588b9a75072a00f234c87">evaluate_oversteer_curve</a>(<span class="keywordtype">float</span> speed) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ae64b2eba9028f84b22bdc0401e47af2f">evaluate_understeer_curve</a>(<span class="keywordtype">float</span> speed) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#afa80af314fd7635a720916ce3dd8f0b3">get_true_target_speed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#aee48535443eebd8e6a6e65bdb60fe2c6">is_grounded</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a3a836909ebbfda1f14886e84580ef027">get_current_acceleration</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> Vector3 <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a9dd811c1912c48d05a6b47b8e94f2e10">get_local_velocity</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> Vector3 <a class="code hl_function" href="classgodot_1_1CarPhysics.html#aea506160c1580ca2cb4fa69b0e1a4547">local_to_world_velocity</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> Vector3 <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a6a121eb8061bd5b5337306bd601ac223">world_to_local_velocity</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a52b7e71cefacf86ec6ffc2bc4a7b87e1">get_current_speed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a6a1f5e2d3d903595732013d37c74101c">set_target_speed</a>(<span class="keywordtype">float</span> target);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a477e11141ce2a091e60dee1b21e10752">get_target_speed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a02a51f96cccf952a2fadc3aa0ba3420c">set_current_steering</a>(<span class="keywordtype">float</span> steering);</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a68c2ded0025aabb7e2e789026e01f5bf">get_current_steering</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a8f5fdf74f27c24f5c4e456c7a2b70a00">set_brake</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ae678960462991192fa4da6208d05ee66">get_brake</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a9e0a197399e533f96bf2abe9c3eb8683">set_oversteer_curve</a>(Ref&lt;Curve&gt; curve);</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> Ref&lt;Curve&gt; <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a9da7152996855d64dfa25ca32b26e6b2">get_oversteer_curve</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#abccb4aea4af43bf49989a060ceb42648">set_oversteer_curve_x_scale</a>(<span class="keywordtype">float</span> scale);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a6d3fc74caa36399b5d200d342c54787f">get_oversteer_curve_x_scale</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a8847321660a8530bd89eb46a3701bfef">set_understeer_curve</a>(Ref&lt;Curve&gt; curve);</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> Ref&lt;Curve&gt; <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ad93fc262c3410aea4b4da7111253b177">get_understeer_curve</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a7c9e70f928259d094de82ed659b6a192">set_understeer_curve_x_scale</a>(<span class="keywordtype">float</span> scale);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a0ea600abe6c6b30a885db8863596c2c4">get_understeer_curve_x_scale</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a22459f8ecf08f2104a7949b9f21d8442">set_acceleration</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a19c2f2b7c2f0019189c3a3e08cd7e7d9">get_acceleration</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a939077728363b77dd31e565251a4e842">set_engine_brake_force</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a5068ffb2f67781d1e83192b6530ac813">get_engine_brake_force</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#af4681409543ed2f72bfbe83a80acf767">set_handbrake_force</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#ae4fd3cdeb2fff714c4b93d38a98167a9">get_handbrake_force</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a9f29a115d3891e5277d14bf36dce555b">set_handbrake_oversteer</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a87203f9013f50fddc581403148d23881">get_handbrake_oversteer</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a23124982b36a8d1fe33d6bb1a0a93409">set_traction_recovery_speed</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a5f0319e3d051f544ec63dbf5f2864c1e">get_traction_recovery_speed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a693ad58d92376b95436e8abba40fb3d0">set_max_slide_speed</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a4d745c4c051691861df78c8077f6e5e7">get_max_slide_speed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a5185499766f43f0794b722c1be127124">set_slide_speed_acceleration</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a89fcbdc13edbbfdf0885a8c082b04fc7">get_slide_speed_acceleration</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a65899e3d89ea1d8d65810117c5172151">set_oversteer_speed_penalty</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#aa042fb7e45c7f73cbe8542a1a9013a13">get_oversteer_speed_penalty</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#afcda38c39675572934847dbc862b52d5">set_oversteer_brake_penalty</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a54b39812019d416acab89f5a895ba739">get_oversteer_brake_penalty</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a2b4db248594facc717fc3489be14adaf">set_oversteer_steering_speed</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a1cc580aa1e7c7ba0953b4d10be7cb98d">get_oversteer_steering_speed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a295e77f85eda0deff025b1bf635f1c50">set_slide_resistance</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a2418a6a3515c9b0c4838b0fd18f537bc">get_slide_resistance</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a2ed2a0564fb139bec783681742177489">set_steering_inward_speed</a>(<span class="keywordtype">float</span> value);</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordtype">float</span> <a class="code hl_function" href="classgodot_1_1CarPhysics.html#a95b5cf589f6d991329f271b092d46d7f">get_steering_inward_speed</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a7186f93b55a819de253df8958ae4b360"> 138</a></span> Vector3 <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a7186f93b55a819de253df8958ae4b360">last_velocity</a>{0.f, 0.f, 0.f};</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a74f460d59477530cede95c4bdc7c56be"> 140</a></span> Vector3 <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a74f460d59477530cede95c4bdc7c56be">local_velocity</a>{0.f, 0.f, 0.f};</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a2e133a32ef8d1edfb00f608173b9c7b8"> 142</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a2e133a32ef8d1edfb00f608173b9c7b8">target_speed</a>{0.f};</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#aada200c9ed9e967310ae96e605439db8"> 144</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#aada200c9ed9e967310ae96e605439db8">current_steering</a>{0.f};</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a10c5fab47ca46c83866d425a55fe40c9"> 146</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a10c5fab47ca46c83866d425a55fe40c9">brake</a>{<span class="keyword">false</span>};</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a57d27b04691a4704b21b79ca858db81f"> 148</a></span> Ref&lt;Curve&gt; <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a57d27b04691a4704b21b79ca858db81f">oversteer_curve</a>{};</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#afc9fbf14ec407a6b4054893573539819"> 149</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#afc9fbf14ec407a6b4054893573539819">oversteer_curve_x_scale</a>{50.f};</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a6e23593122b50b11ea569d541585b1f1"> 150</a></span> Ref&lt;Curve&gt; <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a6e23593122b50b11ea569d541585b1f1">understeer_curve</a>{};</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#ac3ee7ce0215221280de669d23ab45457"> 151</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#ac3ee7ce0215221280de669d23ab45457">understeer_curve_x_scale</a>{50.f};</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a13cd8f492c7075625a8760f94bd6af3c"> 152</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a13cd8f492c7075625a8760f94bd6af3c">acceleration</a>{20.f};</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a819ed2b2cf658a0fbf06054e52b7e607"> 153</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a819ed2b2cf658a0fbf06054e52b7e607">engine_brake_force</a>{30.f};</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#ae16e3812a09c395fdbcd4d6307e09c5b"> 154</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#ae16e3812a09c395fdbcd4d6307e09c5b">handbrake_force</a>{40.f};</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a515660437acb138e180b87f4003a5e41"> 155</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a515660437acb138e180b87f4003a5e41">handbrake_oversteer</a>{1.f};</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a8d98a3c803a557e6c7aa44872e373119"> 156</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a8d98a3c803a557e6c7aa44872e373119">traction_recovery_speed</a>{1.f};</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#aa2bccac1134681da46fcdbfad6c1f548"> 157</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#aa2bccac1134681da46fcdbfad6c1f548">max_slide_speed</a>{20.f};</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a460cbd78f5dce9eb9b67de8615304e1c"> 158</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a460cbd78f5dce9eb9b67de8615304e1c">slide_speed_acceleration</a>{0.05f};</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a0cd01cca98f934c0c3955bd851b7251c"> 159</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a0cd01cca98f934c0c3955bd851b7251c">oversteer_speed_penalty</a>{5.f};</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#ab7cad3216fd0109ba5148a5fce68ac6a"> 160</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#ab7cad3216fd0109ba5148a5fce68ac6a">oversteer_brake_penalty</a>{0.25f};</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#af6297ce3e3320206ded2a166b30ae8dc"> 161</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#af6297ce3e3320206ded2a166b30ae8dc">oversteer_steering_speed</a>{0.7f};</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a99734223e198726ff33e7baafec31cfb"> 162</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a99734223e198726ff33e7baafec31cfb">understeer_speed_penalty</a>{3.f};</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a39a46c47ef5a34adef91a22e0da26ab4"> 163</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a39a46c47ef5a34adef91a22e0da26ab4">slide_resistance</a>{20.f};</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a34c2ef72f743665e10939b15a04bbfa0"> 164</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a34c2ef72f743665e10939b15a04bbfa0">steering_inward_speed</a>{0.1f};</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a8556e5f1ce04fd20b27b92a839fa7d14"> 166</a></span> HashSet&lt;Node*&gt; <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a8556e5f1ce04fd20b27b92a839fa7d14">grounded_objects</a>{};</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#ab7faf101a5d0b87449f1532200a750ed"> 168</a></span> CollisionShape3D *<a class="code hl_variable" href="classgodot_1_1CarPhysics.html#ab7faf101a5d0b87449f1532200a750ed">front_wheels</a>{<span class="keyword">nullptr</span>};</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a1fc78bc1cc1c532aa639666f6eef78ef"> 169</a></span> CollisionShape3D *<a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a1fc78bc1cc1c532aa639666f6eef78ef">back_wheels</a>{<span class="keyword">nullptr</span>};</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#a7c7a99fc03cbeef1e9faf92de38faeb9"> 171</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#a7c7a99fc03cbeef1e9faf92de38faeb9">current_understeer</a>{0.f};</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="classgodot_1_1CarPhysics.html#ae6565a5d69eff68d625a1bbb9ef1feb2"> 172</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classgodot_1_1CarPhysics.html#ae6565a5d69eff68d625a1bbb9ef1feb2">current_oversteer</a>{0.f};</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span>};</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span>}</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span><span class="preprocessor">#endif </span><span class="comment">// !CAR_PHYSICS_HPP</span></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html"><div class="ttname"><a href="classgodot_1_1CarPhysics.html">godot::CarPhysics</a></div><div class="ttdoc">Subclass Sandbox for car physics. Uses _integrate_forces and local_velocity to abstract the behaviour...</div><div class="ttdef"><b>Definition</b> car_physics.hpp:13</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a02a51f96cccf952a2fadc3aa0ba3420c"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a02a51f96cccf952a2fadc3aa0ba3420c">godot::CarPhysics::set_current_steering</a></div><div class="ttdeci">void set_current_steering(float steering)</div><div class="ttdoc">The current steering input.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:204</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a0cd01cca98f934c0c3955bd851b7251c"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a0cd01cca98f934c0c3955bd851b7251c">godot::CarPhysics::oversteer_speed_penalty</a></div><div class="ttdeci">float oversteer_speed_penalty</div><div class="ttdef"><b>Definition</b> car_physics.hpp:159</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a0ea600abe6c6b30a885db8863596c2c4"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a0ea600abe6c6b30a885db8863596c2c4">godot::CarPhysics::get_understeer_curve_x_scale</a></div><div class="ttdeci">float get_understeer_curve_x_scale() const</div><div class="ttdoc">The amount of speed represented by x=1 on the understeer curve.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:248</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a10c5fab47ca46c83866d425a55fe40c9"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a10c5fab47ca46c83866d425a55fe40c9">godot::CarPhysics::brake</a></div><div class="ttdeci">bool brake</div><div class="ttdoc">While true, the handbrake is on.</div><div class="ttdef"><b>Definition</b> car_physics.hpp:146</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a13cd8f492c7075625a8760f94bd6af3c"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a13cd8f492c7075625a8760f94bd6af3c">godot::CarPhysics::acceleration</a></div><div class="ttdeci">float acceleration</div><div class="ttdef"><b>Definition</b> car_physics.hpp:152</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a19c2f2b7c2f0019189c3a3e08cd7e7d9"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a19c2f2b7c2f0019189c3a3e08cd7e7d9">godot::CarPhysics::get_acceleration</a></div><div class="ttdeci">float get_acceleration() const</div><div class="ttdoc">The base engine acceleration of this car.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:256</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a1cc580aa1e7c7ba0953b4d10be7cb98d"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a1cc580aa1e7c7ba0953b4d10be7cb98d">godot::CarPhysics::get_oversteer_steering_speed</a></div><div class="ttdeci">float get_oversteer_steering_speed() const</div><div class="ttdoc">Base amount of steering applied while oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:328</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a1fc78bc1cc1c532aa639666f6eef78ef"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a1fc78bc1cc1c532aa639666f6eef78ef">godot::CarPhysics::back_wheels</a></div><div class="ttdeci">CollisionShape3D * back_wheels</div><div class="ttdef"><b>Definition</b> car_physics.hpp:169</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a22459f8ecf08f2104a7949b9f21d8442"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a22459f8ecf08f2104a7949b9f21d8442">godot::CarPhysics::set_acceleration</a></div><div class="ttdeci">void set_acceleration(float value)</div><div class="ttdoc">The base engine acceleration of this car.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:252</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a23124982b36a8d1fe33d6bb1a0a93409"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a23124982b36a8d1fe33d6bb1a0a93409">godot::CarPhysics::set_traction_recovery_speed</a></div><div class="ttdeci">void set_traction_recovery_speed(float value)</div><div class="ttdoc">The speed at which the car will return to regular traction after under- or oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:284</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a2418a6a3515c9b0c4838b0fd18f537bc"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a2418a6a3515c9b0c4838b0fd18f537bc">godot::CarPhysics::get_slide_resistance</a></div><div class="ttdeci">float get_slide_resistance() const</div><div class="ttdoc">Deceleration applied to sideways velocity.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:336</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a295e77f85eda0deff025b1bf635f1c50"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a295e77f85eda0deff025b1bf635f1c50">godot::CarPhysics::set_slide_resistance</a></div><div class="ttdeci">void set_slide_resistance(float value)</div><div class="ttdoc">Deceleration applied to sideways velocity.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:332</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a2b4db248594facc717fc3489be14adaf"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a2b4db248594facc717fc3489be14adaf">godot::CarPhysics::set_oversteer_steering_speed</a></div><div class="ttdeci">void set_oversteer_steering_speed(float value)</div><div class="ttdoc">Modifier applied to brake force when oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:324</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a2e133a32ef8d1edfb00f608173b9c7b8"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a2e133a32ef8d1edfb00f608173b9c7b8">godot::CarPhysics::target_speed</a></div><div class="ttdeci">float target_speed</div><div class="ttdoc">Target value for local_velocity.z.</div><div class="ttdef"><b>Definition</b> car_physics.hpp:142</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a2ed2a0564fb139bec783681742177489"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a2ed2a0564fb139bec783681742177489">godot::CarPhysics::set_steering_inward_speed</a></div><div class="ttdeci">void set_steering_inward_speed(float value)</div><div class="ttdoc">Target amount of velocity towards the centre of a turn while steering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:340</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a30d688252b9c7682a98f3d986bdc95f4"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a30d688252b9c7682a98f3d986bdc95f4">godot::CarPhysics::integrate_steering</a></div><div class="ttdeci">void integrate_steering(PhysicsDirectBodyState3D *state)</div><div class="ttdoc">Integrate steering into angular and local x velocities. As a side-effect this also applies sliding re...</div><div class="ttdef"><b>Definition</b> car_physics.cpp:90</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a3255f52b8bef35439a44d8a165003cf7"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a3255f52b8bef35439a44d8a165003cf7">godot::CarPhysics::integrate_engine_acceleration</a></div><div class="ttdeci">void integrate_engine_acceleration(PhysicsDirectBodyState3D *state)</div><div class="ttdoc">Apply velocity along local z. Accelerates towards value returned by get_true_target_speed at get_curr...</div><div class="ttdef"><b>Definition</b> car_physics.cpp:105</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a34c2ef72f743665e10939b15a04bbfa0"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a34c2ef72f743665e10939b15a04bbfa0">godot::CarPhysics::steering_inward_speed</a></div><div class="ttdeci">float steering_inward_speed</div><div class="ttdef"><b>Definition</b> car_physics.hpp:164</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a39a46c47ef5a34adef91a22e0da26ab4"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a39a46c47ef5a34adef91a22e0da26ab4">godot::CarPhysics::slide_resistance</a></div><div class="ttdeci">float slide_resistance</div><div class="ttdef"><b>Definition</b> car_physics.hpp:163</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a3a836909ebbfda1f14886e84580ef027"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a3a836909ebbfda1f14886e84580ef027">godot::CarPhysics::get_current_acceleration</a></div><div class="ttdeci">float get_current_acceleration() const</div><div class="ttdoc">Returns acceleration, taking into account braking, throttle, and handbrake.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:160</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a460cbd78f5dce9eb9b67de8615304e1c"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a460cbd78f5dce9eb9b67de8615304e1c">godot::CarPhysics::slide_speed_acceleration</a></div><div class="ttdeci">float slide_speed_acceleration</div><div class="ttdef"><b>Definition</b> car_physics.hpp:158</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a46d1d22958970c96262c57b5f8050466"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a46d1d22958970c96262c57b5f8050466">godot::CarPhysics::process_understeer</a></div><div class="ttdeci">void process_understeer(double delta_time)</div><div class="ttdoc">Process the current_understeer member variable.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:66</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a477e11141ce2a091e60dee1b21e10752"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a477e11141ce2a091e60dee1b21e10752">godot::CarPhysics::get_target_speed</a></div><div class="ttdeci">float get_target_speed() const</div><div class="ttdoc">The target speed.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:200</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a4d745c4c051691861df78c8077f6e5e7"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a4d745c4c051691861df78c8077f6e5e7">godot::CarPhysics::get_max_slide_speed</a></div><div class="ttdeci">float get_max_slide_speed() const</div><div class="ttdoc">The maximum sideways speed that can be reached while drifting.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:296</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a5068ffb2f67781d1e83192b6530ac813"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a5068ffb2f67781d1e83192b6530ac813">godot::CarPhysics::get_engine_brake_force</a></div><div class="ttdeci">float get_engine_brake_force() const</div><div class="ttdoc">The base engine braking force of this car.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:264</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a515660437acb138e180b87f4003a5e41"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a515660437acb138e180b87f4003a5e41">godot::CarPhysics::handbrake_oversteer</a></div><div class="ttdeci">float handbrake_oversteer</div><div class="ttdef"><b>Definition</b> car_physics.hpp:155</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a5185499766f43f0794b722c1be127124"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a5185499766f43f0794b722c1be127124">godot::CarPhysics::set_slide_speed_acceleration</a></div><div class="ttdeci">void set_slide_speed_acceleration(float value)</div><div class="ttdoc">The sideways acceleration applied when drifting.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:300</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a52b7e71cefacf86ec6ffc2bc4a7b87e1"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a52b7e71cefacf86ec6ffc2bc4a7b87e1">godot::CarPhysics::get_current_speed</a></div><div class="ttdeci">float get_current_speed() const</div><div class="ttdoc">The current forward velocity (local_velocity.z)</div><div class="ttdef"><b>Definition</b> car_physics.cpp:192</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a54b39812019d416acab89f5a895ba739"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a54b39812019d416acab89f5a895ba739">godot::CarPhysics::get_oversteer_brake_penalty</a></div><div class="ttdeci">float get_oversteer_brake_penalty() const</div><div class="ttdoc">Modifier applied to brake force when oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:320</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a57d27b04691a4704b21b79ca858db81f"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a57d27b04691a4704b21b79ca858db81f">godot::CarPhysics::oversteer_curve</a></div><div class="ttdeci">Ref&lt; Curve &gt; oversteer_curve</div><div class="ttdef"><b>Definition</b> car_physics.hpp:148</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a5f0319e3d051f544ec63dbf5f2864c1e"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a5f0319e3d051f544ec63dbf5f2864c1e">godot::CarPhysics::get_traction_recovery_speed</a></div><div class="ttdeci">float get_traction_recovery_speed() const</div><div class="ttdoc">The speed at which the car will return to regular traction after under- or oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:288</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a65899e3d89ea1d8d65810117c5172151"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a65899e3d89ea1d8d65810117c5172151">godot::CarPhysics::set_oversteer_speed_penalty</a></div><div class="ttdeci">void set_oversteer_speed_penalty(float value)</div><div class="ttdoc">Deceleration applied to forward speed when oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:308</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a68c2ded0025aabb7e2e789026e01f5bf"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a68c2ded0025aabb7e2e789026e01f5bf">godot::CarPhysics::get_current_steering</a></div><div class="ttdeci">float get_current_steering() const</div><div class="ttdoc">The current steering input.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:208</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a693ad58d92376b95436e8abba40fb3d0"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a693ad58d92376b95436e8abba40fb3d0">godot::CarPhysics::set_max_slide_speed</a></div><div class="ttdeci">void set_max_slide_speed(float value)</div><div class="ttdoc">The maximum sideways speed that can be reached while drifting.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:292</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a6a121eb8061bd5b5337306bd601ac223"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a6a121eb8061bd5b5337306bd601ac223">godot::CarPhysics::world_to_local_velocity</a></div><div class="ttdeci">Vector3 world_to_local_velocity() const</div><div class="ttdoc">transform the current world velocity to local coordinates</div><div class="ttdef"><b>Definition</b> car_physics.cpp:182</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a6a1f5e2d3d903595732013d37c74101c"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a6a1f5e2d3d903595732013d37c74101c">godot::CarPhysics::set_target_speed</a></div><div class="ttdeci">void set_target_speed(float target)</div><div class="ttdoc">The target speed.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:196</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a6d3fc74caa36399b5d200d342c54787f"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a6d3fc74caa36399b5d200d342c54787f">godot::CarPhysics::get_oversteer_curve_x_scale</a></div><div class="ttdeci">float get_oversteer_curve_x_scale() const</div><div class="ttdoc">The amount of speed represented by x=1 on the oversteer curve.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:232</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a6e23593122b50b11ea569d541585b1f1"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a6e23593122b50b11ea569d541585b1f1">godot::CarPhysics::understeer_curve</a></div><div class="ttdeci">Ref&lt; Curve &gt; understeer_curve</div><div class="ttdef"><b>Definition</b> car_physics.hpp:150</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a6f154119ecb043c07cd1e3cfaf591bca"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a6f154119ecb043c07cd1e3cfaf591bca">godot::CarPhysics::process_oversteer</a></div><div class="ttdeci">void process_oversteer(double delta_time)</div><div class="ttdoc">Process the current_oversteer member variable.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:53</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a7186f93b55a819de253df8958ae4b360"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a7186f93b55a819de253df8958ae4b360">godot::CarPhysics::last_velocity</a></div><div class="ttdeci">Vector3 last_velocity</div><div class="ttdoc">Acceleration at the end of the integration step of the last frame.</div><div class="ttdef"><b>Definition</b> car_physics.hpp:138</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a738ef26f0b474d787bdf5c2c008e14e4"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a738ef26f0b474d787bdf5c2c008e14e4">godot::CarPhysics::integrate_oversteer</a></div><div class="ttdeci">void integrate_oversteer(PhysicsDirectBodyState3D *state)</div><div class="ttdoc">Integrate oversteering to local_velocity to allow drifting.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:116</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a74643a2cbcca15dda20e06645911a804"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a74643a2cbcca15dda20e06645911a804">godot::CarPhysics::_integrate_forces</a></div><div class="ttdeci">virtual void _integrate_forces(PhysicsDirectBodyState3D *state) override</div><div class="ttdoc">Custom force integrator. Split into integrate_steering, integrate_engine_acceleration and integrate_o...</div><div class="ttdef"><b>Definition</b> car_physics.cpp:77</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a74f460d59477530cede95c4bdc7c56be"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a74f460d59477530cede95c4bdc7c56be">godot::CarPhysics::local_velocity</a></div><div class="ttdeci">Vector3 local_velocity</div><div class="ttdoc">Velocity relative to the local transform.</div><div class="ttdef"><b>Definition</b> car_physics.hpp:140</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a7c7a99fc03cbeef1e9faf92de38faeb9"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a7c7a99fc03cbeef1e9faf92de38faeb9">godot::CarPhysics::current_understeer</a></div><div class="ttdeci">float current_understeer</div><div class="ttdef"><b>Definition</b> car_physics.hpp:171</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a7c9e70f928259d094de82ed659b6a192"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a7c9e70f928259d094de82ed659b6a192">godot::CarPhysics::set_understeer_curve_x_scale</a></div><div class="ttdeci">void set_understeer_curve_x_scale(float scale)</div><div class="ttdoc">The amount of speed represented by x=1 on the understeer curve.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:244</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a819ed2b2cf658a0fbf06054e52b7e607"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a819ed2b2cf658a0fbf06054e52b7e607">godot::CarPhysics::engine_brake_force</a></div><div class="ttdeci">float engine_brake_force</div><div class="ttdef"><b>Definition</b> car_physics.hpp:153</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a8556e5f1ce04fd20b27b92a839fa7d14"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a8556e5f1ce04fd20b27b92a839fa7d14">godot::CarPhysics::grounded_objects</a></div><div class="ttdeci">HashSet&lt; Node * &gt; grounded_objects</div><div class="ttdef"><b>Definition</b> car_physics.hpp:166</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a87203f9013f50fddc581403148d23881"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a87203f9013f50fddc581403148d23881">godot::CarPhysics::get_handbrake_oversteer</a></div><div class="ttdeci">float get_handbrake_oversteer() const</div><div class="ttdoc">The modifier applied to oversteering when the handbrake is active.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:280</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a8847321660a8530bd89eb46a3701bfef"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a8847321660a8530bd89eb46a3701bfef">godot::CarPhysics::set_understeer_curve</a></div><div class="ttdeci">void set_understeer_curve(Ref&lt; Curve &gt; curve)</div><div class="ttdoc">The base curve used for understeering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:236</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a89fcbdc13edbbfdf0885a8c082b04fc7"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a89fcbdc13edbbfdf0885a8c082b04fc7">godot::CarPhysics::get_slide_speed_acceleration</a></div><div class="ttdeci">float get_slide_speed_acceleration() const</div><div class="ttdoc">The sideways acceleration applied when drifting.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:304</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a8d98a3c803a557e6c7aa44872e373119"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a8d98a3c803a557e6c7aa44872e373119">godot::CarPhysics::traction_recovery_speed</a></div><div class="ttdeci">float traction_recovery_speed</div><div class="ttdef"><b>Definition</b> car_physics.hpp:156</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a8f5fdf74f27c24f5c4e456c7a2b70a00"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a8f5fdf74f27c24f5c4e456c7a2b70a00">godot::CarPhysics::set_brake</a></div><div class="ttdeci">void set_brake(bool value)</div><div class="ttdoc">True if the hand-brake is currently active.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:212</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a939077728363b77dd31e565251a4e842"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a939077728363b77dd31e565251a4e842">godot::CarPhysics::set_engine_brake_force</a></div><div class="ttdeci">void set_engine_brake_force(float value)</div><div class="ttdoc">The base engine braking force of this car.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:260</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a95b5cf589f6d991329f271b092d46d7f"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a95b5cf589f6d991329f271b092d46d7f">godot::CarPhysics::get_steering_inward_speed</a></div><div class="ttdeci">float get_steering_inward_speed() const</div><div class="ttdoc">Target amount of velocity towards the centre of a turn while steering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:344</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a99734223e198726ff33e7baafec31cfb"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a99734223e198726ff33e7baafec31cfb">godot::CarPhysics::understeer_speed_penalty</a></div><div class="ttdeci">float understeer_speed_penalty</div><div class="ttdef"><b>Definition</b> car_physics.hpp:162</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a9da7152996855d64dfa25ca32b26e6b2"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a9da7152996855d64dfa25ca32b26e6b2">godot::CarPhysics::get_oversteer_curve</a></div><div class="ttdeci">Ref&lt; Curve &gt; get_oversteer_curve() const</div><div class="ttdoc">The base curve used for oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:224</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a9dd811c1912c48d05a6b47b8e94f2e10"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a9dd811c1912c48d05a6b47b8e94f2e10">godot::CarPhysics::get_local_velocity</a></div><div class="ttdeci">Vector3 get_local_velocity() const</div><div class="ttdoc">Public getter for current local velocity.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:168</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a9e0a197399e533f96bf2abe9c3eb8683"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a9e0a197399e533f96bf2abe9c3eb8683">godot::CarPhysics::set_oversteer_curve</a></div><div class="ttdeci">void set_oversteer_curve(Ref&lt; Curve &gt; curve)</div><div class="ttdoc">The base curve used for oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:220</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_a9f29a115d3891e5277d14bf36dce555b"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#a9f29a115d3891e5277d14bf36dce555b">godot::CarPhysics::set_handbrake_oversteer</a></div><div class="ttdeci">void set_handbrake_oversteer(float value)</div><div class="ttdoc">The modifier applied to oversteering when the handbrake is active.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:276</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_aa042fb7e45c7f73cbe8542a1a9013a13"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#aa042fb7e45c7f73cbe8542a1a9013a13">godot::CarPhysics::get_oversteer_speed_penalty</a></div><div class="ttdeci">float get_oversteer_speed_penalty() const</div><div class="ttdoc">Deceleration applied to forward speed when oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:312</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_aa2bccac1134681da46fcdbfad6c1f548"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#aa2bccac1134681da46fcdbfad6c1f548">godot::CarPhysics::max_slide_speed</a></div><div class="ttdeci">float max_slide_speed</div><div class="ttdef"><b>Definition</b> car_physics.hpp:157</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_aab1079194a18237dda9fa3ace30393c5"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#aab1079194a18237dda9fa3ace30393c5">godot::CarPhysics::_enter_tree</a></div><div class="ttdeci">virtual void _enter_tree() override</div><div class="ttdoc">Enable _integrate_forces, fetch child nodes, and setup contact monitoring.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:28</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_aada200c9ed9e967310ae96e605439db8"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#aada200c9ed9e967310ae96e605439db8">godot::CarPhysics::current_steering</a></div><div class="ttdeci">float current_steering</div><div class="ttdoc">Current steering input.</div><div class="ttdef"><b>Definition</b> car_physics.hpp:144</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ab7cad3216fd0109ba5148a5fce68ac6a"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ab7cad3216fd0109ba5148a5fce68ac6a">godot::CarPhysics::oversteer_brake_penalty</a></div><div class="ttdeci">float oversteer_brake_penalty</div><div class="ttdef"><b>Definition</b> car_physics.hpp:160</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ab7faf101a5d0b87449f1532200a750ed"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ab7faf101a5d0b87449f1532200a750ed">godot::CarPhysics::front_wheels</a></div><div class="ttdeci">CollisionShape3D * front_wheels</div><div class="ttdef"><b>Definition</b> car_physics.hpp:168</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_abccb4aea4af43bf49989a060ceb42648"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#abccb4aea4af43bf49989a060ceb42648">godot::CarPhysics::set_oversteer_curve_x_scale</a></div><div class="ttdeci">void set_oversteer_curve_x_scale(float scale)</div><div class="ttdoc">The amount of speed represented by x=1 on the oversteer curve.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:228</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ac3ee7ce0215221280de669d23ab45457"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ac3ee7ce0215221280de669d23ab45457">godot::CarPhysics::understeer_curve_x_scale</a></div><div class="ttdeci">float understeer_curve_x_scale</div><div class="ttdef"><b>Definition</b> car_physics.hpp:151</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ac41f70f08d8952958719e9556ae7fc84"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ac41f70f08d8952958719e9556ae7fc84">godot::CarPhysics::GDCLASS</a></div><div class="ttdeci">GDCLASS(CarPhysics, RigidBody3D)</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ad00be124da13c4e0014191a9477017bc"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ad00be124da13c4e0014191a9477017bc">godot::CarPhysics::on_body_shape_exited</a></div><div class="ttdeci">void on_body_shape_exited(RID body_rid, Node *node, int body_shape_index, int local_shape_index)</div><div class="ttdoc">Detect that an object lost contact with the wheels.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:131</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ad93fc262c3410aea4b4da7111253b177"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ad93fc262c3410aea4b4da7111253b177">godot::CarPhysics::get_understeer_curve</a></div><div class="ttdeci">Ref&lt; Curve &gt; get_understeer_curve() const</div><div class="ttdoc">The base curve used for understeering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:240</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ae00920473d8c0c024865d9884fa9bdb3"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ae00920473d8c0c024865d9884fa9bdb3">godot::CarPhysics::_physics_process</a></div><div class="ttdeci">virtual void _physics_process(double delta_time) override</div><div class="ttdoc">Fixed-interval process function. Split into process_oversteer and process_understeer.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:40</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ae16e3812a09c395fdbcd4d6307e09c5b"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ae16e3812a09c395fdbcd4d6307e09c5b">godot::CarPhysics::handbrake_force</a></div><div class="ttdeci">float handbrake_force</div><div class="ttdef"><b>Definition</b> car_physics.hpp:154</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ae4fd3cdeb2fff714c4b93d38a98167a9"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ae4fd3cdeb2fff714c4b93d38a98167a9">godot::CarPhysics::get_handbrake_force</a></div><div class="ttdeci">float get_handbrake_force() const</div><div class="ttdoc">The amount of braking force applied by the handbrake.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:272</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ae62724b5685588b9a75072a00f234c87"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ae62724b5685588b9a75072a00f234c87">godot::CarPhysics::evaluate_oversteer_curve</a></div><div class="ttdeci">float evaluate_oversteer_curve(float speed) const</div><div class="ttdoc">evaluate the oversteer curve with a speed, taking *_x_scale into account</div><div class="ttdef"><b>Definition</b> car_physics.cpp:136</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ae64b2eba9028f84b22bdc0401e47af2f"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ae64b2eba9028f84b22bdc0401e47af2f">godot::CarPhysics::evaluate_understeer_curve</a></div><div class="ttdeci">float evaluate_understeer_curve(float speed) const</div><div class="ttdoc">evaluate the understeer curve with a speed, taking *_x_scale into account</div><div class="ttdef"><b>Definition</b> car_physics.cpp:142</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ae6565a5d69eff68d625a1bbb9ef1feb2"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ae6565a5d69eff68d625a1bbb9ef1feb2">godot::CarPhysics::current_oversteer</a></div><div class="ttdeci">float current_oversteer</div><div class="ttdef"><b>Definition</b> car_physics.hpp:172</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ae678960462991192fa4da6208d05ee66"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ae678960462991192fa4da6208d05ee66">godot::CarPhysics::get_brake</a></div><div class="ttdeci">bool get_brake() const</div><div class="ttdoc">True if the hand-brake is currently active.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:216</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_ae9bd5e0451772c39c23f953bf719b570"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#ae9bd5e0451772c39c23f953bf719b570">godot::CarPhysics::on_body_shape_entered</a></div><div class="ttdeci">void on_body_shape_entered(RID body_rid, Node *node, int body_shape_index, int local_shape_index)</div><div class="ttdoc">Detect that an object started colliding with the wheels.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:121</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_aea506160c1580ca2cb4fa69b0e1a4547"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#aea506160c1580ca2cb4fa69b0e1a4547">godot::CarPhysics::local_to_world_velocity</a></div><div class="ttdeci">Vector3 local_to_world_velocity() const</div><div class="ttdoc">transform the current local_velocity to world coordinates</div><div class="ttdef"><b>Definition</b> car_physics.cpp:172</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_aee48535443eebd8e6a6e65bdb60fe2c6"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#aee48535443eebd8e6a6e65bdb60fe2c6">godot::CarPhysics::is_grounded</a></div><div class="ttdeci">bool is_grounded() const</div><div class="ttdoc">Returns true if there is at least one contact with either of the wheels.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:156</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_af4681409543ed2f72bfbe83a80acf767"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#af4681409543ed2f72bfbe83a80acf767">godot::CarPhysics::set_handbrake_force</a></div><div class="ttdeci">void set_handbrake_force(float value)</div><div class="ttdoc">The amount of braking force applied by the handbrake.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:268</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_af6297ce3e3320206ded2a166b30ae8dc"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#af6297ce3e3320206ded2a166b30ae8dc">godot::CarPhysics::oversteer_steering_speed</a></div><div class="ttdeci">float oversteer_steering_speed</div><div class="ttdef"><b>Definition</b> car_physics.hpp:161</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_afa80af314fd7635a720916ce3dd8f0b3"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#afa80af314fd7635a720916ce3dd8f0b3">godot::CarPhysics::get_true_target_speed</a></div><div class="ttdeci">float get_true_target_speed() const</div><div class="ttdoc">Returns the maximum speed modified by under/oversteer.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:148</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_afa92e1f841ef44c7eaae414379553bb6"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#afa92e1f841ef44c7eaae414379553bb6">godot::CarPhysics::_bind_methods</a></div><div class="ttdeci">static void _bind_methods()</div><div class="ttdoc">Registers functions and properties.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:8</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_afc9fbf14ec407a6b4054893573539819"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#afc9fbf14ec407a6b4054893573539819">godot::CarPhysics::oversteer_curve_x_scale</a></div><div class="ttdeci">float oversteer_curve_x_scale</div><div class="ttdef"><b>Definition</b> car_physics.hpp:149</div></div>
<div class="ttc" id="aclassgodot_1_1CarPhysics_html_afcda38c39675572934847dbc862b52d5"><div class="ttname"><a href="classgodot_1_1CarPhysics.html#afcda38c39675572934847dbc862b52d5">godot::CarPhysics::set_oversteer_brake_penalty</a></div><div class="ttdeci">void set_oversteer_brake_penalty(float value)</div><div class="ttdoc">Modifier applied to brake force when oversteering.</div><div class="ttdef"><b>Definition</b> car_physics.cpp:316</div></div>
<div class="ttc" id="anamespacegodot_html"><div class="ttname"><a href="namespacegodot.html">godot</a></div><div class="ttdef"><b>Definition</b> beacon_powerup.cpp:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
</small></address>
</body>
</html>