https://wiki.multitheftauto.com/wiki/PhysicsDrawDebug?feed=atom&action=history
PhysicsDrawDebug - Revision history
2024-03-28T15:21:04Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://wiki.multitheftauto.com/index.php?title=PhysicsDrawDebug&diff=65088&oldid=prev
CrosRoad95: /* Example */
2020-02-09T14:35:05Z
<p><span dir="auto"><span class="autocomment">Example</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:35, 9 February 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l19">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang="lua"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang="lua"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>physics = physicsCreateWorld()</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>physics = physicsCreateWorld()</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>addEventHandler("onClientRender", function()</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>addEventHandler("onClientRender"<ins style="font-weight: bold; text-decoration: none;">, root</ins>, function()</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> physicsDrawDebug(physics)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> physicsDrawDebug(physics)</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>end)</div></td></tr>
</table>
CrosRoad95
https://wiki.multitheftauto.com/index.php?title=PhysicsDrawDebug&diff=65080&oldid=prev
CrosRoad95: Created page with "__NOTOC__ {{Client function}} Draws all static collisions and rigid bodies and other depends on debug mode. Use it once every frame just like other dxDraw functions ==Syntax..."
2020-02-09T10:08:17Z
<p>Created page with "__NOTOC__ {{Client function}} Draws all static collisions and rigid bodies and other depends on debug mode. Use it once every frame just like other dxDraw functions ==Syntax..."</p>
<p><b>New page</b></p><div>__NOTOC__ <br />
{{Client function}}<br />
Draws all static collisions and rigid bodies and other depends on debug mode.<br />
Use it once every frame just like other dxDraw functions<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool physicsDrawDebug(physics thePhysics)<br />
</syntaxhighlight><br />
<br />
===Required Arguments=== <br />
*'''thePhysics:''' physics world<br />
<br />
===Returns===<br />
*'''bool''' if arguments are valid<br />
<br />
==Example==<br />
<br />
<syntaxhighlight lang="lua"><br />
physics = physicsCreateWorld()<br />
addEventHandler("onClientRender", function()<br />
physicsDrawDebug(physics)<br />
end)<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
<br />
{{Client_physics_functions}}</div>
CrosRoad95