Skip to content

DySolverPFConstraints.solveFriction is not right if friction type is not ePatch #147

@BackMountainBird

Description

@BackMountainBird

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。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions