Hinge joint limits error

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Hinge joint limits error

Postby Leadwerks » Mon Aug 03, 2009 3:03 pm

I tried the built-in hinge joint limits in the jointlibrary (SDK 2.04). When the hinge limits are set to 0,180, a door will be stopped at 0. When it reaches 180, it will go in the wrong direction until it reaches 0 again.

It seems to work when I use -90,90, but I need to be able to rotate the limit in any direction, to make doors.

Demo (Press left and right arrow keys):
http://www.leadwerks.com/post/hingetest.zip
User avatar
Leadwerks
 
Posts: 569
Joined: Fri Oct 27, 2006 2:54 pm

Re: Hinge joint limits error

Postby Julio Jerez » Mon Aug 03, 2009 5:56 pm

The demo doe no run here.

The basics Hinge joint limit are limire to +- 180 degree,
Hoewver there are way to make the limit more general
viewtopic.php?f=15&t=3529

I will add the functionality to the JointLibrary hinge. to make it more general.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Hinge joint limits error

Postby Leadwerks » Mon Aug 03, 2009 8:07 pm

Much appreciated.
User avatar
Leadwerks
 
Posts: 569
Joined: Fri Oct 27, 2006 2:54 pm

Re: Hinge joint limits error

Postby Julio Jerez » Mon Aug 03, 2009 11:21 pm

Ok both problems are solved. Get the beta 2.05 from the site.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Hinge joint limits error

Postby Leadwerks » Tue Aug 04, 2009 11:50 am

Thank you!
User avatar
Leadwerks
 
Posts: 569
Joined: Fri Oct 27, 2006 2:54 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 42 guests