ege/_element_physic_8hpp_source.html

197 lines
49 KiB
HTML

<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- For Mobile Devices -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<title>Ewol Game engine (based on bullet lib): framework/atria-soft/ege/ege/elements/ElementPhysic.hpp Source File</title>
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
<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" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="doxy-boot.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand">Ewol Game engine (based on bullet lib) 0.3.0</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Main&nbsp;Page</a></li>
<li><a href="pages.html">Related&nbsp;Pages</a></li>
<li><a href="namespaces.html">Namespaces</a></li>
<li><a href="annotated.html">Classes</a></li>
<li><a href="files.html">Files</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Link-libs<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
</ul>
</li>
</ul>
<div id="search-box" class="input-group">
<div class="input-group-btn">
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-search"></span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">All</a></li>
<li><a href="#">Classes</a></li>
<li><a href="#">Namespaces</a></li>
<li><a href="#">Files</a></li>
<li><a href="#">Functions</a></li>
<li><a href="#">Variables</a></li>
<li><a href="#">Typedefs</a></li>
<li><a href="#">Enumerations</a></li>
<li><a href="#">Enumerator</a></li>
<li><a href="#">Friends</a></li>
<li><a href="#">Macros</a></li>
<li><a href="#">Pages</a></li>
</ul>
</div>
<button id="search-close" type="button" class="close" aria-label="Close">
<span aria-hidden="true"></span>
</button>
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
</div>
</div><!--/.nav-collapse -->
</div>
</nav>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div class="content" id="content">
<div class="container">
<div class="row">
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
<div style="margin-bottom: 15px;margin-top: 60px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_6aa09a6913ac62e7dd072c5c01fe4d4f.html">ege</a></li><li class="navelem"><a class="el" href="dir_c7b93e6f668982dd2d9141ef602a101b.html">ege</a></li><li class="navelem"><a class="el" href="dir_a05c46c5f0524d237aaf3ea4f665a870.html">elements</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">ElementPhysic.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_element_physic_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &lt;<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/types__8hpp.html">etk/types.hpp</a>&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &lt;<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/__vector3__d__8hpp.html">etk/math/Vector3D.hpp</a>&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &lt;<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/__matrix4__8hpp.html">etk/math/Matrix4.hpp</a>&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;ewol/debug.hpp&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;ewol/widget/Widget.hpp&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;gale/renderer/openGL/openGL.hpp&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;ewol/resource/Colored3DObject.hpp&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="resource_2_mesh_8hpp.html">ege/resource/Mesh.hpp</a>&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_camera_8hpp.html">ege/camera/Camera.hpp</a>&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;ewol/compositing/Text.hpp&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_environement_8hpp.html">ege/Environement.hpp</a>&gt;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_element_8hpp.html">ege/elements/Element.hpp</a>&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;LinearMath/btDefaultMotionState.h&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define INDEX_RIGHT_AXIS (0)</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#define INDEX_FORWARD_AXIS (1)</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#define INDEX_UP_AXIS (2)</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#define ELEMENT_SCALE (1.0f/8.0f)</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceege.html">ege</a> {</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html"> 31</a></span>&#160; <span class="keyword">class </span><a class="code" href="classege_1_1_element_physic.html">ElementPhysic</a> : <span class="keyword">public</span> <a class="code" href="classege_1_1_element.html">ege::Element</a> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> FunctionFreeShape(<span class="keywordtype">void</span>* _pointer);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#a007dcecf8ac22181ac42e55349df8ac4"> 35</a></span>&#160; btRigidBody* <a class="code" href="classege_1_1_element_physic.html#a007dcecf8ac22181ac42e55349df8ac4">m_body</a>; </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordtype">void</span> createRigidBody(<span class="keywordtype">float</span> _mass=400000000.0f);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="classege_1_1_element_physic.html#a2b3174eed6472025a3126c76428b57f9">ElementPhysic</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ege::Environement&gt;</a>&amp; _env, <span class="keywordtype">bool</span> _autoRigidBody=<span class="keyword">true</span>);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classege_1_1_element_physic.html#af790134b59ca27ec755dc8481e2d95eb">~ElementPhysic</a>();</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">virtual</span> <span class="keyword">const</span> std::string&amp; <a class="code" href="classege_1_1_element_physic.html#adeb35b46c19c83dc2ab3eda22e08c217">getType</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#a7e37b583c9cfab005ee9d10d52758608"> 57</a></span>&#160; btCollisionShape* <a class="code" href="classege_1_1_element_physic.html#a7e37b583c9cfab005ee9d10d52758608">m_shape</a>; </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element_physic.html#a0bc3f9f1f3b2becbc244a71cf665e6db">setShape</a>(btCollisionShape* _shape);</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#ab4a3a9838f25f7837f6d301f6f94a33a"> 70</a></span>&#160; <span class="keyword">inline</span> btCollisionShape* <a class="code" href="classege_1_1_element_physic.html#ab4a3a9838f25f7837f6d301f6f94a33a">getShape</a>() {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element_physic.html#a7e37b583c9cfab005ee9d10d52758608">m_shape</a>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; };</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">void</span> removeShape();</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element_physic.html#ab40625af2799ce42f2db6b3407d802d5">setMesh</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ege::resource::Mesh&gt;</a> _mesh);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#af28e2e370657d6d502444b4c8e418453">draw</a>(int32_t _pass=0);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="comment">// virtual void drawLife(const ememory::SharedPtr&lt;ewol::resource::Colored3DObject&gt;&amp; _draw, const ememory::SharedPtr&lt;ege::Camera&gt;&amp; _camera);</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="comment">// TODO : Remove this ...</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#ac1822bfcb31132b6b6a824df22f694ec"> 92</a></span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a> <a class="code" href="classege_1_1_element_physic.html#ac1822bfcb31132b6b6a824df22f694ec">m_theoricPosition</a>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#a76b5500e1e5139d278dbddacf84a7703"> 98</a></span>&#160; <span class="keyword">virtual</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a> <a class="code" href="classege_1_1_element_physic.html#a76b5500e1e5139d278dbddacf84a7703">getPositionTheoric</a>() {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element_physic.html#ac1822bfcb31132b6b6a824df22f694ec">m_theoricPosition</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; };</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#a60f3b578cc6b2b1b9b34953c850b4226"> 105</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#a60f3b578cc6b2b1b9b34953c850b4226">setPositionTheoric</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos) { m_theoricPosition = _pos; };</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; <a class="code" href="classege_1_1_element_physic.html#aab3157c82cf57bd03af8509488f77468">getSpeed</a>();</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="classege_1_1_element_physic.html#aeef26e940ded2ea25b5ac0e8b369fb72">getInvMass</a>();</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMass(<span class="keywordtype">float</span> _value);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setLinearVelocity(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _value);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTorqueImpulse(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _value);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> setAngularVelocity(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _value);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; btQuaternion getOrientation() <span class="keyword">const</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordtype">bool</span> m_elementInPhysicsSystem;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#ad3862301875751917aabea411d4f7538">dynamicEnable</a>();</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#a70d9ccb01b09d4ae55d19b06425db401">dynamicDisable</a>();</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keyword">class </span>localIA : <span class="keyword">public</span> btActionInterface {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <a class="code" href="classege_1_1_element_physic.html">ege::ElementPhysic</a>&amp; m_element;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; localIA(<a class="code" href="classege_1_1_element_physic.html">ElementPhysic</a>&amp; _element) :</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; m_element(_element) {</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; };</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keyword">virtual</span> ~localIA() {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; </div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; };</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keyword">public</span>: <span class="comment">// herited function</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">void</span> debugDraw(btIDebugDraw* _debugDrawer) {</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; };</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordtype">void</span> updateAction(btCollisionWorld* _collisionWorld, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/types_8hpp.html#a1a3ea13679c5a09b0c923b8005f72ef6">btScalar</a> _step) {</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; m_element.<a class="code" href="classege_1_1_element_physic.html#a1d6b59715d8f26f34db893649ab4eb34">iaAction</a>(_step);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; };</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; };</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; localIA* m_IA;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#af227920c2d70031ef163c12eb39151f1">iaEnable</a>();</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#a8fcd20c7b415e4848a195d7e9e79a0aa">iaDisable</a>();</div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#a1d6b59715d8f26f34db893649ab4eb34"> 171</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#a1d6b59715d8f26f34db893649ab4eb34">iaAction</a>(<span class="keywordtype">float</span> _step) { };</div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#ae36813ed7411673cdb6e53e260eda16c"> 175</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#ae36813ed7411673cdb6e53e260eda16c">onDestroy</a>() {};</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; <a class="code" href="classege_1_1_element_physic.html#a13dd2387bd2ad3fef57dd5c754081832">getPosition</a>();</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#a62e71f81e5177cf40ea39af3055ad536">setPosition</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#a3fcd92a93fb30556a573cf8400d1af47">drawDebug</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ewol::resource::Colored3DObject&gt;</a> _draw, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ege::Camera&gt;</a> _camera);</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordtype">void</span> drawShape(<span class="keyword">const</span> btCollisionShape* _shape,</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ewol::resource::Colored3DObject&gt;</a> _draw,</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_matrix4.html">mat4</a> _transformationMatrix,</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; std::vector&lt;vec3&gt; _tmpVertices);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#a0a3bf3289b8490d8231e48c5338be011"> 185</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element_physic.html#a0a3bf3289b8490d8231e48c5338be011">m_detectCollisionEnable</a>; </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#a02d65b86fd3f13d4870d6634c5a6a0a4"> 191</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classege_1_1_element_physic.html#a02d65b86fd3f13d4870d6634c5a6a0a4">getCollisionDetectionStatus</a>() {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classege_1_1_element_physic.html#a0a3bf3289b8490d8231e48c5338be011">m_detectCollisionEnable</a>;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; }</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#ae76a38916a653aa36ac8d9de8d473402">setCollisionDetectionStatus</a>(<span class="keywordtype">bool</span> _status=<span class="keyword">true</span>);</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classege_1_1_element_physic.html#ab7d6d28cd0e9ad927b086a0c4823e4d7"> 205</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classege_1_1_element_physic.html#ab7d6d28cd0e9ad927b086a0c4823e4d7">onCollisionDetected</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ege::Element&gt;</a>&amp; _obj, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _point, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _normal) {};</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; };</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;}</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div><div class="ttc" id="classege_1_1_element_physic_html_a0a3bf3289b8490d8231e48c5338be011"><div class="ttname"><a href="classege_1_1_element_physic.html#a0a3bf3289b8490d8231e48c5338be011">ege::ElementPhysic::m_detectCollisionEnable</a></div><div class="ttdeci">bool m_detectCollisionEnable</div><div class="ttdoc">physic collision detect enable. </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:185</div></div>
<div class="ttc" id="classege_1_1_element_physic_html_af28e2e370657d6d502444b4c8e418453"><div class="ttname"><a href="classege_1_1_element_physic.html#af28e2e370657d6d502444b4c8e418453">ege::ElementPhysic::draw</a></div><div class="ttdeci">virtual void draw(int32_t _pass=0)</div><div class="ttdoc">draw the curent element (can have multiple display) </div></div>
<div class="ttc" id="resource_2_mesh_8hpp_html"><div class="ttname"><a href="resource_2_mesh_8hpp.html">Mesh.hpp</a></div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a76b5500e1e5139d278dbddacf84a7703"><div class="ttname"><a href="classege_1_1_element_physic.html#a76b5500e1e5139d278dbddacf84a7703">ege::ElementPhysic::getPositionTheoric</a></div><div class="ttdeci">virtual vec3 getPositionTheoric()</div><div class="ttdoc">get the theoric position. Sometimes, the element has move due to an explosion or something else...</div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:98</div></div>
<div class="ttc" id="__vector3__d__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/__vector3__d__8hpp.html">Vector3D.hpp</a></div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a3fcd92a93fb30556a573cf8400d1af47"><div class="ttname"><a href="classege_1_1_element_physic.html#a3fcd92a93fb30556a573cf8400d1af47">ege::ElementPhysic::drawDebug</a></div><div class="ttdeci">virtual void drawDebug(ememory::SharedPtr&lt; ewol::resource::Colored3DObject &gt; _draw, ememory::SharedPtr&lt; ege::Camera &gt; _camera)</div><div class="ttdoc">Debug display of the current element. </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_aab3157c82cf57bd03af8509488f77468"><div class="ttname"><a href="classege_1_1_element_physic.html#aab3157c82cf57bd03af8509488f77468">ege::ElementPhysic::getSpeed</a></div><div class="ttdeci">const vec3 &amp; getSpeed()</div><div class="ttdoc">get the current speed of the element </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_ab4a3a9838f25f7837f6d301f6f94a33a"><div class="ttname"><a href="classege_1_1_element_physic.html#ab4a3a9838f25f7837f6d301f6f94a33a">ege::ElementPhysic::getShape</a></div><div class="ttdeci">btCollisionShape * getShape()</div><div class="ttdoc">get a pointer on the bullet collision shape. </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:70</div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a02d65b86fd3f13d4870d6634c5a6a0a4"><div class="ttname"><a href="classege_1_1_element_physic.html#a02d65b86fd3f13d4870d6634c5a6a0a4">ege::ElementPhysic::getCollisionDetectionStatus</a></div><div class="ttdeci">bool getCollisionDetectionStatus()</div><div class="ttdoc">get collision status of the object. </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:191</div></div>
<div class="ttc" id="types__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/types__8hpp.html">types.hpp</a></div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a2b3174eed6472025a3126c76428b57f9"><div class="ttname"><a href="classege_1_1_element_physic.html#a2b3174eed6472025a3126c76428b57f9">ege::ElementPhysic::ElementPhysic</a></div><div class="ttdeci">ElementPhysic(const ememory::SharedPtr&lt; ege::Environement &gt; &amp;_env, bool _autoRigidBody=true)</div><div class="ttdoc">Constructor (when constructer is called just add element that did not change. The object will be stor...</div></div>
<div class="ttc" id="namespaceege_html"><div class="ttname"><a href="namespaceege.html">ege</a></div><div class="ttdef"><b>Definition:</b> AudioElement.hpp:8</div></div>
<div class="ttc" id="classege_1_1_element_physic_html_af790134b59ca27ec755dc8481e2d95eb"><div class="ttname"><a href="classege_1_1_element_physic.html#af790134b59ca27ec755dc8481e2d95eb">ege::ElementPhysic::~ElementPhysic</a></div><div class="ttdeci">virtual ~ElementPhysic()</div><div class="ttdoc">Destructor. </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a0bc3f9f1f3b2becbc244a71cf665e6db"><div class="ttname"><a href="classege_1_1_element_physic.html#a0bc3f9f1f3b2becbc244a71cf665e6db">ege::ElementPhysic::setShape</a></div><div class="ttdeci">bool setShape(btCollisionShape *_shape)</div><div class="ttdoc">set the shape properties. </div></div>
<div class="ttc" id="__matrix4__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/__matrix4__8hpp.html">Matrix4.hpp</a></div></div>
<div class="ttc" id="classetk_1_1_matrix4_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_matrix4.html">etk::Matrix4</a></div></div>
<div class="ttc" id="types_8hpp_html_a1a3ea13679c5a09b0c923b8005f72ef6"><div class="ttname"><a href="http://atria-soft.github.io/etk/types_8hpp.html#a1a3ea13679c5a09b0c923b8005f72ef6">btScalar</a></div><div class="ttdeci">float btScalar</div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a7e37b583c9cfab005ee9d10d52758608"><div class="ttname"><a href="classege_1_1_element_physic.html#a7e37b583c9cfab005ee9d10d52758608">ege::ElementPhysic::m_shape</a></div><div class="ttdeci">btCollisionShape * m_shape</div><div class="ttdoc">shape of the element (set a copy here to have the debug display of it) </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:57</div></div>
<div class="ttc" id="classege_1_1_element_physic_html_aeef26e940ded2ea25b5ac0e8b369fb72"><div class="ttname"><a href="classege_1_1_element_physic.html#aeef26e940ded2ea25b5ac0e8b369fb72">ege::ElementPhysic::getInvMass</a></div><div class="ttdeci">const float getInvMass()</div><div class="ttdoc">get the current mass of the element </div></div>
<div class="ttc" id="_environement_8hpp_html"><div class="ttname"><a href="_environement_8hpp.html">Environement.hpp</a></div></div>
<div class="ttc" id="classege_1_1_element_physic_html_ab7d6d28cd0e9ad927b086a0c4823e4d7"><div class="ttname"><a href="classege_1_1_element_physic.html#ab7d6d28cd0e9ad927b086a0c4823e4d7">ege::ElementPhysic::onCollisionDetected</a></div><div class="ttdeci">virtual void onCollisionDetected(const ememory::SharedPtr&lt; ege::Element &gt; &amp;_obj, const vec3 &amp;_point, const vec3 &amp;_normal)</div><div class="ttdoc">when a collision is detected with an other object (just after calculate data update ...</div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:205</div></div>
<div class="ttc" id="classege_1_1_element_physic_html_af227920c2d70031ef163c12eb39151f1"><div class="ttname"><a href="classege_1_1_element_physic.html#af227920c2d70031ef163c12eb39151f1">ege::ElementPhysic::iaEnable</a></div><div class="ttdeci">void iaEnable()</div><div class="ttdoc">enable periodic call Of this object for processing Artificial Intelligence </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a8fcd20c7b415e4848a195d7e9e79a0aa"><div class="ttname"><a href="classege_1_1_element_physic.html#a8fcd20c7b415e4848a195d7e9e79a0aa">ege::ElementPhysic::iaDisable</a></div><div class="ttdeci">void iaDisable()</div><div class="ttdoc">disable periodic call Of this object for processing Artificial Intelligence </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_ac1822bfcb31132b6b6a824df22f694ec"><div class="ttname"><a href="classege_1_1_element_physic.html#ac1822bfcb31132b6b6a824df22f694ec">ege::ElementPhysic::m_theoricPosition</a></div><div class="ttdeci">vec3 m_theoricPosition</div><div class="ttdoc">draw the current life of the element </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:92</div></div>
<div class="ttc" id="classege_1_1_element_physic_html_ae36813ed7411673cdb6e53e260eda16c"><div class="ttname"><a href="classege_1_1_element_physic.html#ae36813ed7411673cdb6e53e260eda16c">ege::ElementPhysic::onDestroy</a></div><div class="ttdeci">virtual void onDestroy()</div><div class="ttdoc">, call when the element is removed (call only one time </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:175</div></div>
<div class="ttc" id="_element_8hpp_html"><div class="ttname"><a href="_element_8hpp.html">Element.hpp</a></div></div>
<div class="ttc" id="classege_1_1_element_physic_html_ad3862301875751917aabea411d4f7538"><div class="ttname"><a href="classege_1_1_element_physic.html#ad3862301875751917aabea411d4f7538">ege::ElementPhysic::dynamicEnable</a></div><div class="ttdeci">virtual void dynamicEnable()</div><div class="ttdoc">set the elment in the physique engine </div></div>
<div class="ttc" id="classetk_1_1_vector3_d_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">etk::Vector3D&lt; float &gt;</a></div></div>
<div class="ttc" id="classememory_1_1_shared_ptr_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr</a></div></div>
<div class="ttc" id="classege_1_1_element_physic_html_adeb35b46c19c83dc2ab3eda22e08c217"><div class="ttname"><a href="classege_1_1_element_physic.html#adeb35b46c19c83dc2ab3eda22e08c217">ege::ElementPhysic::getType</a></div><div class="ttdeci">virtual const std::string &amp; getType() const</div><div class="ttdoc">get the element Type description string. </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_ae76a38916a653aa36ac8d9de8d473402"><div class="ttname"><a href="classege_1_1_element_physic.html#ae76a38916a653aa36ac8d9de8d473402">ege::ElementPhysic::setCollisionDetectionStatus</a></div><div class="ttdeci">void setCollisionDetectionStatus(bool _status=true)</div><div class="ttdoc">Change enable status of the object. </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_ab40625af2799ce42f2db6b3407d802d5"><div class="ttname"><a href="classege_1_1_element_physic.html#ab40625af2799ce42f2db6b3407d802d5">ege::ElementPhysic::setMesh</a></div><div class="ttdeci">virtual bool setMesh(ememory::SharedPtr&lt; ege::resource::Mesh &gt; _mesh)</div><div class="ttdoc">set the the Mesh properties. </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a13dd2387bd2ad3fef57dd5c754081832"><div class="ttname"><a href="classege_1_1_element_physic.html#a13dd2387bd2ad3fef57dd5c754081832">ege::ElementPhysic::getPosition</a></div><div class="ttdeci">virtual const vec3 &amp; getPosition()</div><div class="ttdoc">get the current position of the element </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a60f3b578cc6b2b1b9b34953c850b4226"><div class="ttname"><a href="classege_1_1_element_physic.html#a60f3b578cc6b2b1b9b34953c850b4226">ege::ElementPhysic::setPositionTheoric</a></div><div class="ttdeci">virtual void setPositionTheoric(const vec3 &amp;_pos)</div><div class="ttdoc">set the current Theoric position of the element </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:105</div></div>
<div class="ttc" id="classege_1_1_element_physic_html"><div class="ttname"><a href="classege_1_1_element_physic.html">ege::ElementPhysic</a></div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:31</div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a62e71f81e5177cf40ea39af3055ad536"><div class="ttname"><a href="classege_1_1_element_physic.html#a62e71f81e5177cf40ea39af3055ad536">ege::ElementPhysic::setPosition</a></div><div class="ttdeci">virtual void setPosition(const vec3 &amp;_pos)</div><div class="ttdoc">set the current position of the element </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a70d9ccb01b09d4ae55d19b06425db401"><div class="ttname"><a href="classege_1_1_element_physic.html#a70d9ccb01b09d4ae55d19b06425db401">ege::ElementPhysic::dynamicDisable</a></div><div class="ttdeci">virtual void dynamicDisable()</div><div class="ttdoc">remove this element from the physique engine </div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a007dcecf8ac22181ac42e55349df8ac4"><div class="ttname"><a href="classege_1_1_element_physic.html#a007dcecf8ac22181ac42e55349df8ac4">ege::ElementPhysic::m_body</a></div><div class="ttdeci">btRigidBody * m_body</div><div class="ttdoc">all the element have a body == &gt; otherwise it will be not manage with this system... </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:35</div></div>
<div class="ttc" id="classege_1_1_element_html"><div class="ttname"><a href="classege_1_1_element.html">ege::Element</a></div><div class="ttdef"><b>Definition:</b> Element.hpp:28</div></div>
<div class="ttc" id="_camera_8hpp_html"><div class="ttname"><a href="_camera_8hpp.html">Camera.hpp</a></div></div>
<div class="ttc" id="classege_1_1_element_physic_html_a1d6b59715d8f26f34db893649ab4eb34"><div class="ttname"><a href="classege_1_1_element_physic.html#a1d6b59715d8f26f34db893649ab4eb34">ege::ElementPhysic::iaAction</a></div><div class="ttdeci">virtual void iaAction(float _step)</div><div class="ttdoc">periodic call for intelligence artificial. </div><div class="ttdef"><b>Definition:</b> ElementPhysic.hpp:171</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated on Mon Oct 24 2016 15:35:54 for Ewol Game engine (based on bullet lib) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>