<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/PhysicsCreateStaticCollision?action=history&amp;feed=atom</id>
	<title>PhysicsCreateStaticCollision - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/PhysicsCreateStaticCollision?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PhysicsCreateStaticCollision&amp;action=history"/>
	<updated>2026-04-10T02:27:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PhysicsCreateStaticCollision&amp;diff=65158&amp;oldid=prev</id>
		<title>CrosRoad95: Created page with &quot;__NOTOC__  {{Client function}} Creates static collision  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; physics-static-collision physicsCreateStaticCollision(physics-shape theShape)...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PhysicsCreateStaticCollision&amp;diff=65158&amp;oldid=prev"/>
		<updated>2020-02-14T17:12:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} Creates static collision  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; physics-static-collision physicsCreateStaticCollision(physics-shape theShape)...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
Creates static collision&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
physics-static-collision physicsCreateStaticCollision(physics-shape theShape)&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theShape :''' the shape of static collision. Accept all types of shapes.&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
Spawns box as ground at center of map&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local boxShape = physicsCreateShape(physics, &amp;quot;box&amp;quot;,200,200,1)&lt;br /&gt;
local box = physicsCreateStaticCollision(boxShape)&lt;br /&gt;
physicsSetProperties(box, &amp;quot;position&amp;quot;, 0,0,1.8)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
{{Client_physics_functions}}&lt;/div&gt;</summary>
		<author><name>CrosRoad95</name></author>
	</entry>
</feed>