It certainly seems so to me.
I've written a small snippet for people to check for bugs.
#include <DarkSDK.h>
void DarkSDK(void)
{
dbSyncOn();
dbSyncRate(30);
dbAutoCamOff();
dbMakeObjectSphere(1, 1.0);
dbColorObject(1, dbRgb(0, 255, 0) );
dbMakeObjectCube(2, 1.0);
dbColorObject(2, dbRgb(0, 0, 255) );
dbPositionObject(2, 2.0f, 2.0f, 0.0f);
dbPositionCamera(0.0f, 0.0f, -10.0f);
float x = 0.0f;
float y = 0.0f;
while (LoopSDK() && !dbEscapeKey() )
{
if (dbUpKey()) y += 0.1f;
if (dbDownKey()) y -= 0.1f;
if (dbLeftKey()) x -= 0.1f;
if (dbRightKey()) x += 0.1f;
dbPositionObject(1, x, y, 0.0f);
if (dbObjectCollision(1, 2))
{
dbColorObject(2, dbRgb(255, 0, 0));
}
else
{
dbColorObject(2, dbRgb(0, 0, 255));
}
dbSync();
}
}
Can someone else check this code? I've check collision against specific objects, and against object id 0, and nether of them seem to register.