Open BackMountainBird opened 1 year ago
the issue happens if you change the friction type to eOne_Directional
this causes crash in DySolverPFConstraints.solveFriction
const PxU8* PX_RESTRICT last = ptr + getConstraintLength(desc);
the data is presumed to be
sizeof(SolverFrictionHeader) + sizeof(appliedImpulse) + numFrictionConstr * sizeof(SolverContactFriction)
and datas are consecutive
but it mismatches codes in DyContactPrepPF.setupFinalizeSolverConstraintsCoulomb。
the issue happens if you change the friction type to eOne_Directional
this causes crash in DySolverPFConstraints.solveFriction
the data is presumed to be
sizeof(SolverFrictionHeader) + sizeof(appliedImpulse) + numFrictionConstr * sizeof(SolverContactFriction)
and datas are consecutive
but it mismatches codes in DyContactPrepPF.setupFinalizeSolverConstraintsCoulomb。