Hello,

When doing some tests with physX, I discovered something strange with pXent_moveglobal used with a PH_CHAR. Even if I put a NULL in the second parameter, it is still moving (along z axis) very fast. It works perfectly with nullvector or with a PH_RIGID.

Code:
#include <acknex.h>
#include <default.c>
#include <ackphysx.h>


function main()
{	
	physX_open();
	level_load("");
		
	vec_set(camera.x,vector(-500,-23,372));
	vec_set(camera.pan, vector(0, -30, 0));
		
	ENTITY *ground = ent_createterrain(NULL, NULL, 32, 32, 1000);
	bmap_fill(bmap_for_entity(ground, 0), vector(0, 0, 255), 100);
	pXent_settype(ground, PH_STATIC, PH_BOX);
	
	
	ENTITY *e = ent_create(CUBE_MDL, vector(0, 0, 17), NULL);
	pXent_settype(e, PH_CHAR, PH_BOX);
	
	while(1)
	{
                // not working
		pXent_moveglobal(e, NULL, NULL);
                // working
		//pXent_moveglobal(e, nullvector, NULL);
			
		wait(1);
	}
}



Best regards.