Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
iMSTK
iMSTK
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • iMSTK
  • iMSTKiMSTK
  • Issues
  • #264

Closed
Open
Created Nov 19, 2020 by huiqiTian222@huiqiTian222

collision problem

Hello, I have some questions about collision in imstk

I use the following code to join the collision interaction

scene->getCollisionGraph()->addInteraction(makeObjectInteractionPair(PBDObj1, PBDObj2, InteractionType::PbdObjToPbdObjCollision, 

CollisionDetection::Type::MeshToMeshBruteForce));
  1. Regarding the interactionType, I noticed that there is an enumeration class in imstkOBjectInteractionFactory.h that lists some types, but

not all types are implemented in imstkOBjectInteractionFactory.cpp. Does it mean that not all interactionTypes can be used?

Moreover, although the femObjToCollidingObjPenaltyForce type is implemented, it does not return, imstkOBjectInteractionFactory.cpp line 102.

I want to realize the collision of FEMOBj and collidingOBj, PBDOBJ and collidingOBj.

  1. Regarding collision handling, I want to achieve similar puncture effects and friction effects, what should I do to achieve these

effects

  1. Regarding collisionDetectionType, Is there any essential difference between pointset and surfmesh?

when i read mesh with different code, different dataType showd:

auto surfMesh = MeshIO::read<SurfaceMesh>("xxx.obj"); ---------- surfMesh

auto surfMesh = MeshIO::read("xxx.obj"); ------------------------PointSet

then which way is correct to use to collisionDetection.

Thank you very much for any suggestions.

Edited Nov 19, 2020 by huiqiTian222
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None