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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2021-01-19T10:38:46+00:00</updated>

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

		<entry>
		<author><name><![CDATA[wren945]]></name></author>
		<updated>2021-01-19T10:38:46+00:00</updated>

		<published>2021-01-19T10:38:46+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43261#p43261</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43261#p43261"/>
		<title type="html"><![CDATA[convexSweepTest returns differently for the same position.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43261#p43261"><![CDATA[
I'm using convextSweepTest to simulate my character capsule (imaginary, no real rigid body involved) sliding along a wall.<br><br>As in the picture below, in one frame, I sweep from A to B, I get no hit all all. So I assume B is safe and my character could move to B. <br><br>But in next frame, if I sweep from B, I always get a hit with the wall with a fraction of 0, no matter which direction I sweep to, and my character got stuck.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://pybullet.org/Bullet/phpBB3/download/file.php?id=1862" class="postimage" alt="Untitled.jpg" onclick="viewableArea(this);" /></dt></dl></div><br>For test purpose, I tried sweeping from B away from the wall along wall's normal direction, or sweeping reversely from B to A, always got hit at 0 fraction. It seems B has already penetrated. This isn't consistent with the first sweep, as it's already told me B was safe.<br><br>How is that subsequent sweeps are not consistent. What could I have missed?<br><br>Some more info:<br> - Distance from A to B is small, as it's a delta move between frames.<br> - I could always keep A and B away a litte bit from wall when user moves against the wall, but I couldn't prevent user from coming very close to the wall from side ways.<br><br>Thanks a lot<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13882">wren945</a> — Tue Jan 19, 2021 10:38 am</p><hr />
]]></content>
	</entry>
	</feed>
