Newton 2.04 and above problem

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Newton 2.04 and above problem

Postby Witek900 » Mon Aug 24, 2009 8:44 am

I have problem with Newton versions above 2.03 (2.04, 2.06, 2.07, 2.08)

In 2.03 my scene looks like this:
http://www.4shared.com/file/127323766/108b17b6/203.html
This red boxes are AABB's of each body (from NewtonBodyGetAABB). Everything works ok, boxes fall on a floor and bounce.

In 2.04, 2.06, 2.08 it looks like that:
http://www.4shared.com/file/127323790/7e70ae4c/208.html
Look at AABBs. They are smaller and translated in random directions. When i drop boxes, they fly through the floor.

I just replaced Newton.dll, i have changed nothing in source corde.

Please help!
Witek900
 
Posts: 38
Joined: Mon Jan 26, 2009 1:29 pm
Location: Warsaw

Re: Newton 2.04 and above problem

Postby Julio Jerez » Mon Aug 24, 2009 9:16 am

Is this and Iphone demo?

are you saying that the funtyion NewtonBodyGetAABB does not work in the iphone.
just in the iphone or does this apply to the Mac buidl as well?
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.04 and above problem

Postby Witek900 » Mon Aug 24, 2009 9:54 am

This demo was running on Windows Vista (compiled by Delphi). Not only NewtonBodyGetAABB works bad, but whole Newton (no collisions). In 2.03 everything is excelent
Witek900
 
Posts: 38
Joined: Mon Jan 26, 2009 1:29 pm
Location: Warsaw

Re: Newton 2.04 and above problem

Postby Witek900 » Mon Aug 24, 2009 10:54 am

I solved it :D
I had to download new header file, because in function such as NewtonCreateBox there was additional parameter "int shapeID".
Julio what is this "shapeID" used for?
Witek900
 
Posts: 38
Joined: Mon Jan 26, 2009 1:29 pm
Location: Warsaw

Re: Newton 2.04 and above problem

Postby Julio Jerez » Mon Aug 24, 2009 10:59 am

Cool, solved a problem byt doing nothing, Just the way I like it.

Witek900 wrote:Julio what is this "shapeID" used for?

see advance Materials tutorial in the wiki
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.04 and above problem

Postby JernejL » Mon Aug 24, 2009 1:11 pm

I am suprised it even worked without any crash without the extra parameter, anyway good that you got it solved :)
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Newton 2.04 and above problem

Postby Stucuk » Mon Aug 24, 2009 1:37 pm

Delfi wrote:I am suprised it even worked without any crash without the extra parameter, anyway good that you got it solved :)


As long as the value of the parameter isn't important things seem to work fine if your header doesn't match the DLL. My Newton test thing seemed to work fine when i was using a header that didn't have the thread params added(Note: This was a while back).
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 8 guests

cron