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
for newton non noobs
for newton non noobs
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
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
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.
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'
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
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
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
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
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
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
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.
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.
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.
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
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP