newton and max2D
BlitzMax Forums/BlitzMax Programming/newton and max2D
| ||
It's not perfect but it works for the begining. Copy paste the code below. Then save it anywhere and save the top right image of this page(Blitz RESEARCH) to the folder you saved the code. Then just run it. edit:As I am not seeing any posts i will change the code as I find more compartibility I think to be 100% compartible we will have to do some changes. I am not sure right now. Any help and any comments are wellcome. |
| ||
If anyone knows how to lock the z axi of movement pls post some code. |
| ||
To lock to Z axis couldnt you just pass the same variable to it each pass of the main loop, therefore locking it to the same number? |
| ||
oops i forgot that. There is a newton function that I used to solve that.(pointed out from a newton user in the newton forum. this function is NewtonWorldForEachBodyDo(NewtonWorld , callbackFunction). And so all the newtonBodies pass from tha callbackFunction and get fixed their z value. I just found out the result and never updated the topic. |
| ||
Hmmm. I tried this. The program compiled but didn't do anything (i.e. no graphical window opened etc). I have the newton.mod in pub.mod, libnewton.a in my blitzmax/lib directory and I'm using the brllog.png image. Any ideas? |
| ||
I also have the newton.dll in my system directory |
| ||
I want to see more of what newton can do in 2D! |
| ||
Can't compile due to syntax errors. |