<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Attract object to the camera</title>
		<link>http://jiglibx.wikidot.com/forum/t-166598/attract-object-to-the-camera</link>
		<description>Posts in the discussion thread &quot;Attract object to the camera&quot;</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://jiglibx.wikidot.com/forum/t-166598#post-524744</guid>
				<title>Re: Attract object to the camera</title>
				<link>http://jiglibx.wikidot.com/forum/t-166598/attract-object-to-the-camera#post-524744</link>
				<description></description>
				<pubDate>Fri, 03 Jul 2009 00:05:46 +0000</pubDate>
				<wikidot:authorName>nih</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>You need to add a world force to the object. This part is pretty easy, subtract the found object's location from a point just in front of the camera location and use that as your force. If you apply the difference each frame, the object will stop and hold at that point.</p> <p>The tricky detail is that you need to add any forces from inside a PhysicsController object, during its update loop. Check the tutorials for an example.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://jiglibx.wikidot.com/forum/t-166598#post-524186</guid>
				<title>Attract object to the camera</title>
				<link>http://jiglibx.wikidot.com/forum/t-166598/attract-object-to-the-camera#post-524186</link>
				<description></description>
				<pubDate>Thu, 02 Jul 2009 10:14:49 +0000</pubDate>
				<wikidot:authorName>squidleon</wikidot:authorName>				<wikidot:authorUserId>337128</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all,<br /> I'm making weapon like hl2, I "send" ray to x and y of mouse and i return a objectcontroller (like mouse wheel example in jiglibx), How can I attract object to the camera or apply force for came object ?<br /> Thanks all,<br /> squidleon</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>