I get a crash in pXcon_setparams.
Code:
void RD_setHinge(ENTITY* constr_1, ENTITY* constr_2) {
	// make constraint
	pXcon_add(PH_HINGE, constr_1, constr_2, 0); // attach to bodypart
	pXcon_setparams1(constr_1, constr_1.x, RD_Hinge1, nullvector); // set hinge limits
	pXcon_setparams2(constr_1, RD_Hinge2, nullvector, nullvector); // same
}



if i comment the setparams out, it works (though there is no hinge then), otherwise i get a SYS crash.
In A7 this used to work, so why doesnt this anymore in A8?

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/