<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.castle.xyz/wiki/index.php?action=history&amp;feed=atom&amp;title=Collision</id>
	<title>Collision - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.castle.xyz/wiki/index.php?action=history&amp;feed=atom&amp;title=Collision"/>
	<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Collision&amp;action=history"/>
	<updated>2026-05-26T20:07:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Collision&amp;diff=333&amp;oldid=prev</id>
		<title>Ben at 21:22, 13 May 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Collision&amp;diff=333&amp;oldid=prev"/>
		<updated>2022-05-13T21:22:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:22, 13 May 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: [[Text]] doesn&amp;#039;t have art. Text always has a rectangular collision shape determined by the approximate size of the text content.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: [[Text]] doesn&amp;#039;t have art. Text always has a rectangular collision shape determined by the approximate size of the text content.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;[[Solid]] actors won&amp;#039;t overlap with other solid actors. If you want to use physics, such as [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Bouncy&lt;/del&gt;|Bouncing]] and [[Friction]], or just to make sure actors can&amp;#039;t pass through each other, make sure they use the &amp;#039;&amp;#039;&amp;#039;Solid&amp;#039;&amp;#039;&amp;#039; behavior by adding it from the &amp;#039;&amp;#039;&amp;#039;Movement&amp;#039;&amp;#039;&amp;#039; tab of the [[Inspector]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;[[Solid]] actors won&amp;#039;t overlap with other solid actors. If you want to use physics, such as [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Bounce&lt;/ins&gt;|Bouncing]] and [[Friction]], or just to make sure actors can&amp;#039;t pass through each other, make sure they use the &amp;#039;&amp;#039;&amp;#039;Solid&amp;#039;&amp;#039;&amp;#039; behavior by adding it from the &amp;#039;&amp;#039;&amp;#039;Movement&amp;#039;&amp;#039;&amp;#039; tab of the [[Inspector]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;Text boxes created from a &amp;#039;&amp;#039;&amp;#039;Create text box&amp;#039;&amp;#039;&amp;#039; [[Response]] don&amp;#039;t have a body and cannot collide.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;Text boxes created from a &amp;#039;&amp;#039;&amp;#039;Create text box&amp;#039;&amp;#039;&amp;#039; [[Response]] don&amp;#039;t have a body and cannot collide.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-326:rev-333 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ben</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Collision&amp;diff=326&amp;oldid=prev</id>
		<title>Ben at 20:05, 13 May 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Collision&amp;diff=326&amp;oldid=prev"/>
		<updated>2022-05-13T20:05:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:05, 13 May 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;Collision&amp;#039;&amp;#039;&amp;#039; is an event that happens when two [[Actor|Actors]] with bodies run into each other and try to occupy the same space. Depending on the attributes of those actors, a collision may cause them to change velocity or position (i.e. bounce off each other) or fire [[Rule|Rules]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;Collision&amp;#039;&amp;#039;&amp;#039; is an event that happens when two [[Actor|Actors]] with bodies run into each other and try to occupy the same space. Depending on the attributes of those actors, a collision may cause them to change &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Motion|&lt;/ins&gt;velocity&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;or position (i.e. bounce off each other) or fire [[Rule|Rules]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== Configuring collisions ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== Configuring collisions ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-284:rev-326 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ben</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Collision&amp;diff=284&amp;oldid=prev</id>
		<title>Ben: Created page with &quot;A &#039;&#039;&#039;Collision&#039;&#039;&#039; is an event that happens when two Actors with bodies run into each other and try to occupy the same space. Depending on the attributes of those act...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Collision&amp;diff=284&amp;oldid=prev"/>
		<updated>2022-05-12T23:45:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;Collision&amp;#039;&amp;#039;&amp;#039; is an event that happens when two &lt;a href=&quot;/Actor&quot; title=&quot;Actor&quot;&gt;Actors&lt;/a&gt; with bodies run into each other and try to occupy the same space. Depending on the attributes of those act...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;Collision&amp;#039;&amp;#039;&amp;#039; is an event that happens when two [[Actor|Actors]] with bodies run into each other and try to occupy the same space. Depending on the attributes of those actors, a collision may cause them to change velocity or position (i.e. bounce off each other) or fire [[Rule|Rules]].&lt;br /&gt;
&lt;br /&gt;
== Configuring collisions ==&lt;br /&gt;
To make an actor collide with others, first configure its &amp;#039;&amp;#039;&amp;#039;Collision Shape&amp;#039;&amp;#039;&amp;#039;, which is used to determine how that blueprint&amp;#039;s actors collide. To edit the collision shape, open the [[Art]] tool for that [[Blueprint]], then select the &amp;#039;&amp;#039;&amp;#039;Collision&amp;#039;&amp;#039;&amp;#039; layer. The collision layer supports circles, rectangles, and triangles.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: [[Text]] doesn&amp;#039;t have art. Text always has a rectangular collision shape determined by the approximate size of the text content.&lt;br /&gt;
&lt;br /&gt;
[[Solid]] actors won&amp;#039;t overlap with other solid actors. If you want to use physics, such as [[Bouncy|Bouncing]] and [[Friction]], or just to make sure actors can&amp;#039;t pass through each other, make sure they use the &amp;#039;&amp;#039;&amp;#039;Solid&amp;#039;&amp;#039;&amp;#039; behavior by adding it from the &amp;#039;&amp;#039;&amp;#039;Movement&amp;#039;&amp;#039;&amp;#039; tab of the [[Inspector]].&lt;br /&gt;
&lt;br /&gt;
Text boxes created from a &amp;#039;&amp;#039;&amp;#039;Create text box&amp;#039;&amp;#039;&amp;#039; [[Response]] don&amp;#039;t have a body and cannot collide.&lt;br /&gt;
&lt;br /&gt;
== Running Rules when actors collide ==&lt;br /&gt;
Use the &amp;#039;&amp;#039;&amp;#039;When this collides&amp;#039;&amp;#039;&amp;#039; [[Trigger]] to perform actions when an actor collides with other actors. You can use [[Tag|Tags]] to only run the trigger for specific actors, such as &amp;#039;&amp;#039;&amp;#039;When this collides with tag #wall&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In the [[Response|Responses]] underneath a &amp;#039;&amp;#039;&amp;#039;When this collides&amp;#039;&amp;#039;&amp;#039; trigger, you can refer to &amp;#039;&amp;#039;&amp;#039;The colliding actor&amp;#039;&amp;#039;&amp;#039;. For example, you can &amp;#039;&amp;#039;&amp;#039;Tell the colliding actor&amp;#039;&amp;#039;&amp;#039; to do something, or you can read [[Variable|Local Variables]] that belong to the colliding actor.&lt;br /&gt;
&lt;br /&gt;
You can check if an actor is colliding using the &amp;#039;&amp;#039;&amp;#039;If this is colliding&amp;#039;&amp;#039;&amp;#039; [[Condition]].&lt;br /&gt;
&lt;br /&gt;
If your actor isn&amp;#039;t [[Solid]] then it may overlap with the colliding actor and fire the collision trigger repeatedly.&lt;/div&gt;</summary>
		<author><name>Ben</name></author>
	</entry>
</feed>