I did a quick search, and maybe these may also work. These are some VBScript commands for Newton
"Move" example
.MoveUp, .MoveDown,.MoveLeft,.MoveRight
Code:
If IO.Keyboard.Left = True Then
NewTestBox(0).MoveUp(1) '.Position(Px, Py + 1, Pz)
End If
If IO.Keyboard.Right = True Then
NewTestBox(0).MoveDown(1) '.Position(Px, Py - 1, Pz)
End If
If IO.Keyboard.Space = True Then
NewTestBox(0).MoveLeft(1) '..Position(Px, Py, Pz + 1)
End If
If IO.Keyboard.Return = True Then
NewTestBox(0).MoveRight(1) '.Position(Px, Py, Pz - 1)
End If
'/reset collidable state
NewTestBox(0).Collidable = True
NewTestBox(1).Collidable = True
universe.Collidable = True
.Collision
Code:
CollTrue = NewTestBox(0).Collision(universe)
And Finally some more new ones scattered in here
Code:
NewTestBox(BoxNum) = New DarkGDK.Basic3D.Sphere(20, myCol) '.Box(Bsizex, Bsizey, Bsizez, myCol)
NewTestBox(BoxNum).Position(Bposx, BposY, BposZ)
NewTestBox(BoxNum).Collidable = True
NewTestBox(BoxNum).SetCollisionToSpheres()
NewTestBox(BoxNum).AutomaticCollision(10, True)
'NewTestBox(BoxNum).MakeCollisionBox(10, 0, 0, -10, 10, 10, False)
The entire code is here:
https://forum.thegamecreators.com/thread/154985Update: Found other reference: May not be proper code but....
Code:
_world.IsPaused = false;
Code:
e.TranslationZ = 0;
e.RotationX = 0;
e.RotationY = 0;
Could be a whole bunch of interesting stuff that Black never bothered to mention. Newton can not only create boxs, but other primitives like cones as well. I have some spare time, I'm trying to hunt down the VBScript code version (Most of Newton code is in C)
It's pretty reasonable to assume that there are a hell of a lot more scriptable commands in FP than what we were told. If I/We can find a list (or at least build it up ourselves) this would be the most major development for stock FP in a decade (more actually)
_________________
_____________________________________
Latest projects and rants at
My Facebook Page_____________________________________
Latest Project: fpxEngine