physX problem

Posted By: jojo1995

physX problem - 02/12/11 18:35

why object 1 not Physics on object 2
look example :
http://www.multiupload.com/W6NEC1MNNI
Posted By: jojo1995

Re: physX problem - 02/13/11 10:49

helloooooooo????
Posted By: xxxxxxx

Re: physX problem - 02/13/11 12:43

the entity with the action djhero isnt an pXobjekt! If you can place this entity at the position(0,0,0) i can solve this problem! sorry for my english
xxxxxxx
Posted By: jojo1995

Re: physX problem - 02/13/11 13:23

can you give me example plz
Posted By: xxxxxxx

Re: physX problem - 02/13/11 13:52

this works without setting the position to (0,0,0)

Code:
action djhero()
{
	var Rotat = 0;// is the var witch rotates the objekt
	pXent_settype(my,PH_RIGID,PH_CONVEX);// makes the entity to a phsiks ent. try some other collisionsmodes
	pXent_kinematic(me,1);// remove the gravity and other phsiks effekts
	while(1)
	{
		Rotat += 10*time_step;// add 10*time_step to the rotation
		pXent_moveglobal( me, my.x, vector(0,0,Rotat));// rotate the ent
		wait(1);
	}
}


sorry for my english
xxxxxxx
Posted By: jojo1995

Re: physX problem - 02/13/11 13:58

thank you
me too my english is bad
thank you for help me
© 2024 lite-C Forums