Page 1 of 1

Physics

Posted: Thu Aug 05, 2010 6:14 pm
by Ghost6765
I am currently working on a graphical rpg using GX and I would like to know how to do physics in it. do I have to use an engine or what?? :?: :?: :?: :?: :?: :?: :?:

Re: Physics

Posted: Thu Aug 05, 2010 7:05 pm
by RyouArashi
This depends on what kind of physics you want. Simple movements can be done by manually programming Newton's and Euler's Law.
For more complex dynamics (especially in 3D space), such as impacts, collisions or multi-body dynamics you should look into physics
libraries like ODE (ode.org).

Re: Physics

Posted: Fri Aug 06, 2010 2:20 am
by coreyh2
http://www.box2d.org/

Might be another option.

Re: Physics

Posted: Fri Aug 06, 2010 11:40 am
by vuurrobin
I think box2d is only for 2d programs, not 3d programs.

you can also try nitroengine:
http://antoniond.drunkencoders.com/nitroengine.html

Re: Physics

Posted: Fri Aug 06, 2010 12:49 pm
by Ghost6765
Hey again,

does this work with devkitpro?

Re: Physics

Posted: Fri Aug 06, 2010 3:27 pm
by vuurrobin
whoops, didn't realise that this was in the devkitPPC forum. sorry about that.

yea, nitroengine is only for DS with devkitARM.

Re: Physics

Posted: Fri Aug 06, 2010 3:36 pm
by Ghost6765
Do you know any 3D wii ones.