<?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/13218" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2021-06-08T16:45:36+00:00</updated>

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

		<entry>
		<author><name><![CDATA[drleviathan]]></name></author>
		<updated>2021-06-08T16:45:36+00:00</updated>

		<published>2021-06-08T16:45:36+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43444#p43444</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43444#p43444"/>
		<title type="html"><![CDATA[Re: Wake up object issue]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43444#p43444"><![CDATA[
A simple way to contrive a conveyor is to make the object kinematic, give it a non-zero velocity, and then make its <strong class="text-strong">MotionState.getWorldTransform()</strong> always return the unchanging position.  Dynamic bodies that touch the conveyor will pick up the non-zero velocity at all contact points and will slide along.  As long as the conveyor's speed is larger than <strong class="text-strong">m_linearSleepingThreshold</strong> then neither dynamic bodies or the conveyor will be deactivated.  If you stop the conveyor and things do go to sleep then when you wake the conveyor it should wake any touching dynamic objects.<br><br>In other words: maybe you don't need to override <strong class="text-strong">customMaterialCallback</strong>.  Depends on if you're doing other fancy stuff therein.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11033">drleviathan</a> — Tue Jun 08, 2021 4:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maiklof]]></name></author>
		<updated>2021-06-08T10:06:50+00:00</updated>

		<published>2021-06-08T10:06:50+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43443#p43443</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43443#p43443"/>
		<title type="html"><![CDATA[Wake up object issue]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43443#p43443"><![CDATA[
Hi,<br>I am trying to avoid using DISABLE_DEACTIVATION flag and trying to find a more efficient way to handle objects that go to sleep being on top of another object. The object bellow is able to apply lateral friction using a customMaterialCallback (to simulate a conveyor) but when it stops, after a bit, the object above goes to sleep, as expected. Then, I cannot wake it up, even if I change the motion speed or try to activate the object state, because the customMaterialCallback is not executed anymore.<br>Any clever idea on how to awake this objects somehow else?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10570">maiklof</a> — Tue Jun 08, 2021 10:06 am</p><hr />
]]></content>
	</entry>
	</feed>
