﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AMoguri%2FBGE_Collision_API_Proposal</id>
	<title>利用者:Moguri/BGE Collision API Proposal - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AMoguri%2FBGE_Collision_API_Proposal"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Moguri/BGE_Collision_API_Proposal&amp;action=history"/>
	<updated>2026-05-04T14:57:19Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Moguri/BGE_Collision_API_Proposal&amp;diff=103971&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Moguri/BGE_Collision_API_Proposal&amp;diff=103971&amp;oldid=prev"/>
		<updated>2018-06-28T19:42:14Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 19:42時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Moguri/BGE_Collision_API_Proposal&amp;diff=103970&amp;oldid=prev</id>
		<title>wiki&gt;Moguri: Created page with &quot;=BGE Collision API= I don't yet know whether to use an event list or callbacks.  ==CollisionEvent objects== Properties: * location * material * object    (These I would like to i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Moguri/BGE_Collision_API_Proposal&amp;diff=103970&amp;oldid=prev"/>
		<updated>2011-03-20T01:18:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=BGE Collision API= I don&amp;#039;t yet know whether to use an event list or callbacks.  ==CollisionEvent objects== Properties: * location * material * object    (These I would like to i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=BGE Collision API=&lt;br /&gt;
I don't yet know whether to use an event list or callbacks.&lt;br /&gt;
&lt;br /&gt;
==CollisionEvent objects==&lt;br /&gt;
Properties:&lt;br /&gt;
* location&lt;br /&gt;
* material&lt;br /&gt;
* object&lt;br /&gt;
  &lt;br /&gt;
(These I would like to include)&lt;br /&gt;
* normal&lt;br /&gt;
* force&lt;br /&gt;
&lt;br /&gt;
==CollisionEvent list==&lt;br /&gt;
Stored on KX_GameObjects. For each collision, two events are created and one is stored on each KX_GameObject in the collision.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for ce in obj.collisions:&lt;br /&gt;
	if ce.name == &amp;quot;Bomb&amp;quot;:&lt;br /&gt;
		obj.endObject()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Collision callbacks==&lt;br /&gt;
Collision callbacks are registered on KX_GameObjects. The callback functions take a KX_GameObject and a CollisionEvent object and do not return anything.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def col_bomb(self, ce):&lt;br /&gt;
	if ce.object.name == &amp;quot;Bomb&amp;quot;:&lt;br /&gt;
		self.endObject()&lt;br /&gt;
&lt;br /&gt;
obj.register(col_bomb)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;Moguri</name></author>
		
	</entry>
</feed>