I have really small sample that worked fine in A7 7.866 and below versions, now when I run it in A8 8.10 the entities walk right through the walls.

I took my very small level and rebuilt in A8 Wed and it still didn't help. the blocks are not labeled as passable in the level.

can someone please explain what I need to change to fix this in A8? many thanks in advance!

#include <Acknex.h>

#define PRAGMA_PATH "files"; //absolute or relative paths.

ENTITY* aEntity;
ENTITY* bEntity;

int main ()
{
add_folder("files");
level_load("paths.wmb");

aEntity = ent_create("warlock.mdl",vector(-115,180,192),NULL);
bEntity = ent_create("witch.mdl",vector(-115,120,192),NULL);
bEntity.pan += 90;

while(1)
{
c_move(aEntity,vector(0.1,0,0),nullvector,IGNORE_PASSABLE);
c_move(bEntity,vector(0,-0.1,0),nullvector,IGNORE_PASSABLE);

wait(1);
}
}


www.LazyDogSoftware.com
Delphi SDK Homepage

A7 Pro 780
Delphi 5 through 2010