<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/10121" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2014-09-24T06:29:26+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/10121</id>

		<entry>
		<author><name><![CDATA[Basroil]]></name></author>
		<updated>2014-09-24T06:29:26+00:00</updated>

		<published>2014-09-24T06:29:26+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34047#p34047</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34047#p34047"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34047#p34047"><![CDATA[
<blockquote class="uncited"><div>I´ve tried to setLinearVelocity() before each world step, but it does not fix it... I think that been able to make surfaces behave as conveyor belts can be a nice feature, for both static and dynamic objects, and it would be nice to be able to do it just calling one method... But I think I have to continue using the custom callback <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">!</div></blockquote>Pretty sure the custom callback is the preferred method anyway <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>If your entire world is comprised of conveyer belts, you could try to see where the updates fell apart, likely a call that used to go to getLinearVelocity was rerouted, or a collision with a static object was simplified as a maximum reduction in velocity (since one static object velocity is the same as any another in the world, why bother wasting time checking the linear velocity if you know it's supposed to be 0?), but if you're talking about a few things, there's less chance of breaking something else by just working around. At least until Erwin/Dirk can give you input on the issue (perhaps it's a stability thing, maybe performance, maybe just a bug).<br><br>If you do find out what happened, please do share, it'll help those that have a similar issue later.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9711">Basroil</a> — Wed Sep 24, 2014 6:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maiklof]]></name></author>
		<updated>2014-09-24T05:16:45+00:00</updated>

		<published>2014-09-24T05:16:45+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34046#p34046</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34046#p34046"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34046#p34046"><![CDATA[
I´ve tried to setLinearVelocity() before each world step, but it does not fix it... I think that been able to make surfaces behave as conveyor belts can be a nice feature, for both static and dynamic objects, and it would be nice to be able to do it just calling one method... But I think I have to continue using the custom callback <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">!<br>Thanks Basroil!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10570">maiklof</a> — Wed Sep 24, 2014 5:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Basroil]]></name></author>
		<updated>2014-09-24T01:31:38+00:00</updated>

		<published>2014-09-24T01:31:38+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34045#p34045</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34045#p34045"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34045#p34045"><![CDATA[
<blockquote class="uncited"><div>Is this a bug? or is something incompatible with a proper handling of the restitution? Could someone help me to find out how to make this work with the  version 2.82?</div></blockquote>Looks like a lot changed there and static objects seem to be assumed to have zero/ unchanging velocities to avoid calculations. Have you checked to see if a callback to setting velocity at every frame fixes it?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9711">Basroil</a> — Wed Sep 24, 2014 1:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maiklof]]></name></author>
		<updated>2014-09-22T20:27:05+00:00</updated>

		<published>2014-09-22T20:27:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34041#p34041</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34041#p34041"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34041#p34041"><![CDATA[
Summary:<br>From r2534 to r2335 a change was made to <em class="text-italics">'improve handling of restitution by using the velocity (linear/angular) before applying forces: this is done by re-introducing the btSolverBody and only apply the forces to solver body, and use the original rigid body velocity for restitution computation.'</em> <br>I would say that because of this change, applying linear velocity (setLinearVelocity()) to static objects in order to make them behave as conveyor belts, is no longer working.<br><br>Is this a bug? or is something incompatible with a proper handling of the restitution? Could someone help me to find out how to make this work with the  version 2.82?<br><br>Thanks!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10570">maiklof</a> — Mon Sep 22, 2014 8:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maiklof]]></name></author>
		<updated>2014-09-22T18:36:53+00:00</updated>

		<published>2014-09-22T18:36:53+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34040#p34040</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34040#p34040"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34040#p34040"><![CDATA[
Ok, now I know it is something that happened between r2534 and r2535... There are around 15 modified files, but I will try to find the one causing the issue...<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10570">maiklof</a> — Mon Sep 22, 2014 6:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maiklof]]></name></author>
		<updated>2014-09-22T16:00:49+00:00</updated>

		<published>2014-09-22T16:00:49+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34038#p34038</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34038#p34038"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34038#p34038"><![CDATA[
Thanks again Basroil!<br>I have never used GIT, but what you say makes sense and seems easy, so I will try it. I will update the post if I find what caused the issue...<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10570">maiklof</a> — Mon Sep 22, 2014 4:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Basroil]]></name></author>
		<updated>2014-09-22T05:16:15+00:00</updated>

		<published>2014-09-22T05:16:15+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34037#p34037</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34037#p34037"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34037#p34037"><![CDATA[
<blockquote class="uncited"><div>Hi Basroil,<br>Yes, as I said, it works in 2.79 but not in 2.81 and 2.82... Any idea where in the code this can be implemented... Still the question is if the feature has been removed or is just a bug...  I've tried to find out by myself, but as you said, there are too many changes and the code is not commented very in detail...</div></blockquote>Didn't mean check fixed releases, rather patch history. If you revert back to ~r2500 and it works, then you know it's some change after that that was causing issues. Ones that seem like they could have something to do with the  issue are r2547 (commit 84b1774dda1f3a8d858af08bf11f9996dac0f5ff using GIT) and r2462/3 (commit 76785d6e01cfd96eb13ac2cd22b3879e59174f3f using GIT), though it could be just about anything. If you use GIT, it's incredibility easy to check out an earlier revision, so testing for exactly when the error happened will take at most ~14 tries and not even a few hours of testing (mostly just GIT update and recompile time). If you know when it broke, you can check the changes made and know exactly why it broke.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9711">Basroil</a> — Mon Sep 22, 2014 5:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maiklof]]></name></author>
		<updated>2014-09-20T12:52:04+00:00</updated>

		<published>2014-09-20T12:52:04+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34033#p34033</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34033#p34033"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34033#p34033"><![CDATA[
Hi Basroil,<br>Yes, as I said, it works in 2.79 but not in 2.81 and 2.82... Any idea where in the code this can be implemented... Still the question is if the feature has been removed or is just a bug...  I've tried to find out by myself, but as you said, there are too many changes and the code is not commented very in detail...<br>Thanks anyway!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10570">maiklof</a> — Sat Sep 20, 2014 12:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Basroil]]></name></author>
		<updated>2014-09-19T04:27:24+00:00</updated>

		<published>2014-09-19T04:27:24+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34029#p34029</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34029#p34029"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34029#p34029"><![CDATA[
<blockquote class="uncited"><div>No Basroil, there are several post about it:<br><a href="http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&amp;t=2805&amp;start=0" class="postlink">http://bulletphysics.org/Bullet/phpBB3/ ... 05&amp;start=0</a><br><a href="http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&amp;p=21441#p21441" class="postlink">http://bulletphysics.org/Bullet/phpBB3/ ... 441#p21441</a></div></blockquote>Misread the original post, I thought you meant the static object was supposed to move.<br><br>There's a hell of a lot of code changes between 2.79 and 2.81, including quite a few to friction and contact handling in general. Tried reverting to older revisions until one works?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9711">Basroil</a> — Fri Sep 19, 2014 4:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maiklof]]></name></author>
		<updated>2014-09-18T04:57:09+00:00</updated>

		<published>2014-09-18T04:57:09+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34022#p34022</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34022#p34022"/>
		<title type="html"><![CDATA[Re: setLinearVelocity and Static objects]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34022#p34022"><![CDATA[
No Basroil, there are several post about it:<br><a href="http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&amp;t=2805&amp;start=0" class="postlink">http://bulletphysics.org/Bullet/phpBB3/ ... 05&amp;start=0</a><br><a href="http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&amp;p=21441#p21441" class="postlink">http://bulletphysics.org/Bullet/phpBB3/ ... 441#p21441</a><br><br>I've been doing it using the friction direction an a contact Callback, but I wanted to try this too...<br>Thanks!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10570">maiklof</a> — Thu Sep 18, 2014 4:57 am</p><hr />
]]></content>
	</entry>
	</feed>
