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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2020-03-18T12:30:40+00:00</updated>

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

		<entry>
		<author><name><![CDATA[YanisBDF]]></name></author>
		<updated>2020-03-18T12:30:40+00:00</updated>

		<published>2020-03-18T12:30:40+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42710#p42710</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42710#p42710"/>
		<title type="html"><![CDATA[Attach rigidbody to a point]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42710#p42710"><![CDATA[
Hello, I am trying to create road sign, that can be broken when a certain impulsion or force is applied. I tried to create a Point2Point constraint to fix the rigidbody to a point, but it just added a certain sort of animation when another rigidbody walk through it.<br><div class="codebox"><p>Code: </p><pre><code>CollisionShape boxShape = new BoxShape(new Vector3f(0.1f,1.5f,0.1f));collisionShapes.add(boxShape);tr.origin.set(0f, 1.5f-4.5f, 10);box = localCreateRigidBody(10, tr, boxShape);contraint = new Point2PointConstraint(box, new Vector3f(0,-1.5,0));dynamicsWorld.addConstraint(contraint, false);</code></pre></div>So, can you help me to find a way to fix a rigidbody to point please ?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13526">YanisBDF</a> — Wed Mar 18, 2020 12:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
