# Physics Simulation Forum

 All times are UTC

 Page 1 of 1 [ 2 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Hinge constraint spins on its ownPosted: Mon May 21, 2012 1:37 am

Joined: Mon May 21, 2012 12:52 am
Posts: 1
Hello, hopefully someone can help me out here.

So I have a basic hinge constraint in my current game project to make a door.

It's created like this:
Code:
btHingeConstraint* hingeDoor;
hingeDoor = new btHingeConstraint(*level.btBody,*hinge1.btBody,btVector3(20.0f,5.0f,-5.0f),btVector3(-5.0f,0.0f,.25f),btVector3(0,1,0),btVector3(0,1,0));

The two rigid bodies that make up the hinge a static triangle mesh(level.btBody) and a dynamic box(hinge1.btBody). For some reason, the hinge starts spinning once it's updated by Bullet. I'm not applying any forces to it and there's nothing hitting it that would make it continually spin like that.

I've been trying to figure what's going on, and I'm totally stumped.

Top

 Post subject: Re: Hinge constraint spins on its ownPosted: Mon May 21, 2012 3:06 pm

Joined: Tue May 01, 2012 11:52 am
Posts: 17
Similar problem here http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=8127
If u solve it please write where was the problem.
Btw i alredy tried sliderconstraint and result was nearly the same.

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 2 posts ]

 All times are UTC

#### Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Dragonlord, Exabot [Bot], Google [Bot] and 10 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ BULLET PHYSICS LIBRARY USERS    General Bullet Physics Support and Feedback    Release Announcements    Applications, Games, Demos or Movies using Bullet PHYSICS AUTHORING TOOLS, SERIALIZATION AND STANDARDS    Physics authoring tools, serialization, standards and related topics RESEARCH AND DEVELOPMENT IN COLLISION DETECTION & PHYSICS. Don't post Bullet support questions here!    Research and development discussion about Collision Detection and Physics Simulation    Links, Papers, Libraries, Demos, Movies, Comparisons       Non-technical forum and license/patent discussion    Career Opportunities