Disable collisions between linked bodies

19 views
Skip to first unread message

Markus S

unread,
Jan 12, 2022, 5:30:11 AMJan 12
to ProjectChrono
Hello!

In Bullet I can specify whether two rigidbodies that are connected via a constraint should ignore collisions between them. How can I specify this when creating Links in Chrono?

Radu Serban

unread,
Jan 12, 2022, 6:12:14 AMJan 12
to theytit...@gmail.com, ProjectChrono

You assign the collision models of the two bodies to different collision families and then for one of them you disable collision with collision models from the other family.

See ChCollisionModel::SetFamily() and ChCollisionModel::SetFamilyMaskNoCollisionWithFamily().

 

Look at demo_IRR_tracks or demo_MCORE_mixerNSC for useage examples.

 

--Radu

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/174e693b-1127-4a79-9218-06624e734326n%40googlegroups.com.

Message has been deleted

Markus S

unread,
Jan 16, 2022, 2:14:37 PMJan 16
to ProjectChrono
Thank you very much!
Reply all
Reply to author
Forward
0 new messages