Jump to content


NikaB

Member Since 18 Aug 2009
Offline Last Active Oct 05 2012 07:05 AM

Posts I've Made

In Topic: Gmode Physics V0.50b - Gm 6/7/8 Support

23 January 2012 - 09:03 PM

<Delete This Post Sorry>

In Topic: Free movement around a planet

18 January 2012 - 07:59 PM

Quaternions. Not them again ! Going back to hell, it's better there, than with quaternions :P
Anyway, seems very interesting and very "educative"

In Topic: Anti-Lag Topic: Ways to speed up your 3D games

12 January 2012 - 04:24 PM

...and use Delta Time...

In Topic: 3d Physics Engine with GM8.1

10 January 2012 - 10:57 AM

Good ! Everything is well now, he didn't reply to my PM but I fidured out what was the problem.
In this function :

GmnBodyLinkObject(body,id,0)
Make sure the last argument is false to disable auto-updating (THIS IS ONLY FOR GM8.1)
In the basic GMNewton example, it's in the create events of the bodies.

In Topic: 3d Physics Engine with GM8.1

08 January 2012 - 09:40 PM

Ok, I modified the basic example file coming with GMNewton 2.0 with your code, placed in the right place etc... and everything works well (because there's no error at start) but after, the game freezes, and I noticed it was because of the GmnUpdate(...) in the Step of Controller object (I KNOW it's because of that. Because when I remove it, it doesn't update and doesn't freeze). Can you tell me what's wrong with that ? Thanks !

PS : shouldn't your code be :
x=GmnBodyGetPosition(body,0);
y=GmnBodyGetPosition(body,1);
z=GmnBodyGetPosition(body,2);
xrot=radtodeg(GmnBodyGetRotation(body,0));
yrot=radtodeg(GmnBodyGetRotation(body,1));
zrot=radtodeg(GmnBodyGetRotation(body,2));
it's corrected in the last page of the GMNewton topic...