[Newton - Irrlicht] Problem in Tutorial

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

[Newton - Irrlicht] Problem in Tutorial

Postby darkmaster83 » Thu Nov 13, 2008 3:52 am

Hi! Following word for word the tutorial http://www.newtondynamics.com/wiki/index.php5?title=Tutorial_-_Irrlicht_and_Newton_start in Newton Wiki, I get only an error on the following line:
Code: Select all
core::matrix4 mat;
 NewtonBodyGetMatrix(beat_Body, &mat.M[0]);


Errors says:
error C2248: 'irr::core::CMatrix4<T>::M' : cannot access private member declared in class 'irr::core::CMatrix4<T>'


What's the problem? What have I to do in order to solve it? Any advice? :?

I'm using Irrlicht 1.4.2 and Newton Game Dynamics SDK 1.53 in Visual Studio 2005!

Thanks beforehand!
darkmaster83
 
Posts: 2
Joined: Wed Nov 12, 2008 3:16 am

Re: [Newton - Irrlicht] Problem in Tutorial

Postby ep1stle » Thu Nov 13, 2008 7:57 am

Since this is an irrlicht-issue you're in the worng forum. ;)

Anyway, it has to be
Code: Select all
NewtonBodyGetMatrix(beat_Body, mat.pointer());


This was changed in irrlicht 1.3 or 1.4 I think. The Irrlicht-Newton tutorial is definitly outdated.
ep1stle
 
Posts: 10
Joined: Mon Nov 27, 2006 12:38 pm
Location: GERMANY


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 13 guests