cassius Posted November 21, 2011 Posted November 21, 2011 Can or should addbodyforce be used in a main loop? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
VeTaL Posted November 21, 2011 Posted November 21, 2011 Well, looking like yes While Not KeyHit(KEY_ESCAPE) AddBodyForce body,vec3(KeyDown(KEY_RIGHT)-KeyDown(KEY_LEFT),0,KeyDown(KEY_UP)-KeyDown(KEY_DOWN)) UpdateWorld() RenderWorld() DrawText "Use the arrow keys to move the body.",0,0 Flip() Wend But afaik, in pure Newton, it can be called only from callbacks. Quote Working on LeaFAQ
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.