Skip to content
Discussion options

You must be logged in to vote

Hi,

I suggest to use a SubsetMapping in conjonction with another MechanicalObject to filter your tracked points. If you track a single point, you would end up with a MechanicalObject containing only one position, force etc.

In XML, it would look like:

<MechanicalObject template="Vec3d" name="mainDOFs"/>
<Node name="filtered">
    <MechanicalObject template="Vec3d" name="filteredDOFs"/>
    <SubsetMapping input="@../mainDOFs" output="@filteredDOFs" indices="137"/>
</Node>

For better visual tracking, you can use TrailRenderer (see an example here). Otherwise, you can setup the visualization of your point directly in the filtered MechanicalObject (see the Data showObject, showObjectScale, dr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sodasoda520
Comment options

Answer selected by hugtalbot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants