Thanks guys that worked great.
On another issue, i have used dbLockObjectOn on some plains to create some icons for my program, however the pick object command does not seem to work on these objects. It is working on objects in the scene so must be because they have been locked to screen, any reason for this?
objectSelected = dbPickObject(dbMouseX(),dbMouseY(),9,18);
if (dbMouseClick() == 1 && objectSelected == 10) {
dbShowObject (13);
dbShowObject (14);
}
My FPS also stay around 60 even with just 1 rotating cube on screen. Sync rate is set to 100 so it isnt the cap of sync rate, my graphics card normally produces higher on dbpro, is this common?
SNOW ISLAND : www.snowisland.co.uk
BEWARE THE MOON : www.bewarethemoon.co.uk
ALIEN INVASION : www.alien-invasion.co.uk