void DistanceJoint::importExtraData(PxDeserializationContext& context)
{
	if(mData)
		mData = context.readExtraData<DistanceJointData, PX_SERIAL_ALIGN>();

	context.readName(mName);
}
Пример #2
0
void NpArticulation::importExtraData(PxDeserializationContext& context)
{	
	Cm::importInlineArray(mArticulationLinks, context);
	context.readName(mName);
}