from 7.866 to 8.10 now entity walks through walls

Posted By: LazyDog

from 7.866 to 8.10 now entity walks through walls - 02/23/11 23:49

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);
}
}
Posted By: Pappenheimer

Re: from 7.866 to 8.10 now entity walks through walls - 02/23/11 23:52

I used WED with A8 only once, and got the same problem. For me it helped to set the build options to default in the build window with the "Default Settings" button.
Posted By: Tobias

Re: from 7.866 to 8.10 now entity walks through walls - 02/24/11 13:59

You probably disabled meshes in the map compiler. When you messed up your compiler settings, set them back to default and it will work again.
Posted By: LazyDog

Re: from 7.866 to 8.10 now entity walks through walls - 02/24/11 23:40

many thanks! that was the problem!
© 2024 lite-C Forums