Problem controlling Newton.

BlitzMax Forums/BlitzMax Programming/Problem controlling Newton.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Move the line
NewtonBodyGetMassMatrix (Body,Varptr Mass, Varptr IXX, Varptr IYY, Varptr IZZ);

to the line above the part there you multiply the mass with the forces.
In the current state you multiply the forcevalues with a zero mass.