Skip to content

Update signed distance fields collisions #134

@ZAMA30

Description

@ZAMA30

After I change float densitys of a NvFlexBuffer :

std::memcpy( g_buffers->colliders.mappedPtr, g_Updates.sdfdatas[0]->colldata, sizeof(float)* dimdimdim);

NvFlexUpdateDistanceField(g_flexLib, g_Updates.sdfdatas[0]->sdf[0], dim, dim, dim, g_buffers->colliders.buffer);

Also i call NvSetShapes()...

...But the collision shape is not updated, it collides as the first shape.

Is there any way to update this data ??

Thank you

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