<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/PhysicsGetChildShapes?action=history&amp;feed=atom</id>
	<title>PhysicsGetChildShapes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/PhysicsGetChildShapes?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PhysicsGetChildShapes&amp;action=history"/>
	<updated>2026-05-18T09:51:54Z</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=PhysicsGetChildShapes&amp;diff=65124&amp;oldid=prev</id>
		<title>CrosRoad95: Created page with &quot;__NOTOC__  {{Client function}} Returns all child shape of compound shape.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; table physicsGetChildShapes(physics-shape compoundShape) &lt;/...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PhysicsGetChildShapes&amp;diff=65124&amp;oldid=prev"/>
		<updated>2020-02-12T15:04:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} Returns all child shape of compound shape.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; table physicsGetChildShapes(physics-shape compoundShape) &amp;lt;/...&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;
Returns all child shape of compound shape.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table physicsGetChildShapes(physics-shape compoundShape)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''compoundShape:''' Must be compound shape&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns table of all shapes. {shape, shape, shape, ...}. False otherwise&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
Creates something that reminds chain&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local compound = physicsCreateShape(physics, &amp;quot;compound&amp;quot;)&lt;br /&gt;
local capsule = physicsCreateShape(physics, &amp;quot;capsule&amp;quot;, 1, 1)&lt;br /&gt;
physicsAddChildShape(compound, capsule)&lt;br /&gt;
physicsAddChildShape(compound, capsule)&lt;br /&gt;
physicsAddChildShape(compound, capsule)&lt;br /&gt;
local childShapes = physicsGetChildShapes(compound);&lt;br /&gt;
outputChatBox(&amp;quot;Your compound shape is made of &amp;quot;.. #childShapes .. &amp;quot; capsules&amp;quot;)&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>