Originally Posted By: MPQ
Ye, tried out pXent_rotate, but the same problem kept the same (dont understand that)...
Any example?

pXent_rotate works fine for me, like code below:

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

void main()
{
	physX_open();
	
	level_load("");

	vec_set(camera->x, vector(-200, 0, 50));

	ENTITY *box = ent_create("CUBE.MDL", NULL, NULL);
	vec_set(box.scale_x,vector(5,5,.1));
	pXent_settype(box, PH_CHAR, PH_BOX);

	while(1)
	{
		draw_text("[Space] - Rotate", 5, 5, COLOR_RED);
		if (key_space)	pXent_rotate(box,NULL,vector(45,0,0));		
		wait(1);
	}
}



Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P