Skip to content

Collision of a MechanicalObject with a shape #4145

Answered by bakpaul
Slykkey asked this question in Develop in C++
Discussion options

You must be logged in to vote

You want to use Langrangian-based constraints. For this to be computed correctly you need to use a FreeMotionAnimationLoop, because the DefaultAnimationLoop doesn't compute all the steps needed for the constraints to be computed.

Secondly, to solve correctly the constraints you'll also nee a LinearConstraintCorrection inside of every mechanical node (BeamModel1 and particle1).

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@Slykkey
Comment options

@Slykkey
Comment options

@hugtalbot
Comment options

@Slykkey
Comment options

@bakpaul
Comment options

Answer selected by Slykkey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants