|
Post by benny53 on Apr 18, 2006 1:41:27 GMT 1
Is there an easier way to do the fps movement in the example? im not too familiar with the math used there,but pretty much everything else im ok with. if there is an easier,way,how would i go about it?
thanks in advance:)
|
|
n0id
New Member
Posts: 4
|
Post by n0id on Oct 19, 2006 19:49:26 GMT 1
well one way would be to use something like:
` walk forward If KeyState(17) =1 And _canRun =0 xforce# = sin( object angle y(playerobj)) *200 zforce# = cos( object angle y(playerobj)) *200 NDB_SetVector 1, 0, 0, 0 NDB_SetVector 2, xforce#, 0, zforce# NDB_BodysetForceglobal PlayerBody EndIf
|
|
|
Post by omnxae on Aug 22, 2008 6:24:09 GMT 1
|
|
|
Post by wowposter on Nov 8, 2008 13:50:04 GMT 1
|
|