for newton non noobs

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

for newton non noobs

Post by VeneX »

I have a problem with newton but I am a totally noob and the help is a bit too difficult for me, has someone else worked with the demo (modified mercior demo) of the SDK? The only thing I changed was the base level model but the crates and ragdoll models are now falling through the floor...

http://www.physicsengine.com/forum/viewtopic.php?t=406
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

When I tried to change the Mercior demo I got the ragdolls falling through everything but the other things acting okay. Just recently I started work on a project without ragdolls (for now) and everything is falling through the floor. I can't help you, but I'm in the same plight. Make sure that you didn't translate the world mesh in Irrlicht and not Newton. But I seem to have gotten them both centered about the origin and things still fall through.
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

Post by VeneX »

I combined the techdemo and the mercior Newton SDK demo, after debugging and gettig a couple of 80 errors there is only one error left. Unfortunatly I don't know how to solve this :(

d:\microsoft visual studio\vc98\include\xstring(612) : error C2955: 'string' : use of class template requires template argument list
e:\irrlicht-0.6\include\irrstring.h(485) : see declaration of 'string'
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

Could you post the code where this error occurs

BTW I fixed my problem
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

Post by VeneX »

I could post the code but... It is a combination of the Techdemo and the mercior SDK demo, which result in more than 1000 lines of code...

Btw I am curious how you fixed it
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

More realized my stupidity than fixed it. I was lazy, so I copied and pasted the tree collision setup code from Mercior's tutorial. Stupid thing was, I has both the original one and the newer one (the one with ragdolls) open at the same time and I copied part of the code from one, part of the code from the other. They set up tyhe collision somewhat differently so this led to problems :oops:

I realize that you can't post your whole code, but can you post the section where it occursm
Looking at your error message, unless I'm misenterpreting it, do you perhaps have two different string classes that are conflicting? I use Dev-cpp, not VC++ and I'm not great at interpreting Dev-cpp errors let alone VC++ ones but it looks lke you have an include named xstring and your compiler is referring you to a definition in irrstring.h. Unless xstring is somehow related to irrlicht (something you wrote yourself with irrlicht that is) it shouldn't know a thing about irrlciht strings and might be conflicting with them. Just a guess, I'm probably wrong.
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

Post by VeneX »

The fault you made isn't the reason why it don't work here :(

And I have no idea where the string error should be, VC++ doesn't blame my source like for example main(80): string error. But just what I posted allready.
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Post Reply