@Turoid: Cheers!
The physics are very primative at the moment so I'm gonna do a bit of work on them! And to do the the model positioning I just used the built in dbPickObject command!
Null = dbPickObject( dbMouseX(), dbMouseY(), Tabletop, Tabletop );
XPos = dbGetPickVectorX() + dbCameraPositionX();
ZPos = dbGetPickVectorZ() + dbCameraPositionZ();
dbPositionObject( Bat1, XPos, Table_Height, ZPos );
@tiresius: Ah new I was forgeting something! Haha I'll put a pic up now! And yeah I know what you mean! Since I'm just new to GDK I thought I'd start small!
Anyway I'v updated the games AI and physics a bit to have more dynamic gameplay..
AI - Computer bat now moves on X and Z axis and is a bit more human like!
Physics - Friction slows down puck and speed at which bat hits the puck now effects the pucks speed.
Anyway I think there's a glitch in the game due to the screen resolution and I'm gonna experiment with anti-aliasing to try to fix this, if anyone has any suggestions please do say! Here's a pic of the problem..
Anyway thanks for the comments guys, keep them coming!
There are 10 types of people, people who know binary and people who don't!