Newton tutorial not working (private datamember)

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
scarface
Posts: 5
Joined: Sun Jun 11, 2006 7:34 am

Newton tutorial not working (private datamember)

Post by scarface »

I can't compile the code written in the following link:
http://walaber.com/newton_wiki/index.ph ... wton_start

The error I get is that the core::matrix4 mat is private:

Code: Select all

NewtonGetEulerAngle ( &mat.M[0], &euler.X );
I tryed the following code, no error, but the physics don't work (no movement), the planet should rotate.

Code: Select all

NewtonGetEulerAngle ( &mat.getTransposed() [0], &euler.X );
Thanks by advance.
Last edited by scarface on Fri Aug 24, 2007 9:46 pm, edited 1 time in total.
webnoob
Posts: 17
Joined: Mon Aug 20, 2007 9:28 pm

Post by webnoob »

EDIT:: Oops, different tutorial
belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

Code: Select all

mat.pointer()
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
scarface
Posts: 5
Joined: Sun Jun 11, 2006 7:34 am

Post by scarface »

Ok thanks ;), the sources on the link above and the Newton tutorial on the official site should also change this way.
Post Reply