Hi Guys,
As you can tell from the size of the Issues Board, the core team has been busy working on some back-end (as yet unannounced) aspects of AGK. One of them is the 3D component of the language. The work goes well, but we wanted to bounce the proposed 3D commands off you guys before getting too deep in the work. Here is what we're thinking for the basic position and rotation commands. They are aligned very closely to the way AppGameKit commands are structured and prefer the local/global method of object manipulation rather than euler which does tend to confuse after a while. Here is a short list of commands we are personally happy with:
SetObjectPosition( ID, x,y,z )
SetObjectRotation( ID, w,x,y,z ) // Quaternion
SetObjectRotationYXZ( ID, x,y,z ) // Euler
RotateObjectLocalX( ID, x ); // same as Pitch Object Up/Down in DBPro
RotateObjectLocalY( ID, y ); // same as Turn Object Left/Right in DBPro
RotateObjectLocalZ( ID, z ); // same as Roll Object Left/Right in DBPro
RotateObjectGlobalX( ID, x );
RotateObjectGlobalY( ID, y );
RotateObjectGlobalZ( ID, z );
RotateObjectAxisAngle( ID, x,y,z, ang ); // rotate the object around an arbitrary axis
MoveObjectLocalX( ID, x ); // same as Move Object Left/Right in DBPro
MoveObjectLocalY( ID, x ); // same as Move Object Up/Down in DBPro
MoveObjectLocalZ( ID, x ); // same as Move Object Forward/Backward in DBPro
SetObjectLookAt( ID, x,y,z, roll ); // point the object at a point in space, with an optional roll value.
Comments welcome, but don't worry too much about a sudden rush of features. We have scheduled some time to revisit the Issues Board and are determined to ensure you have a solid foundation for building your apps and to bring other supported platforms up to build 107 as soon as possible.
I drink tea, and in my spare time I write software.