Position Tracking of physical objects

Forum Forums Visual Components 4.0 General Product Questions Position Tracking of physical objects

Visual Components Essentials has been officially released, download link

Be sure to read the Forum Rules and Guidelines before start using the Forum.

This topic contains 2 replies, has 2 voices, and was last updated by  john3310 4 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3124

    john3310
    Participant

    Hi guys,
    is it possible to track the position of a physical link during the simulation ?

    As shown in the attached picture, I have an axis on which a slider is going from side to side (defined as a translational joint, controlled by the ServoController and defined as physicstype “kinematic”)  On the slider is a weight, fixed with a PhysicsJoint  which is locked in all dimensions. The weight is defined as “InPhysics”.

    For the Moment I tried to get the actual Position of the Weight with the PositionMatrix from vcMatrix. Unfortunately this just gives me the coordinates of the offset when the simulation is started and not the actual position of the weight when the slider is moved.

    Does someone have any idea how to track the current position of the weight while the slider is moving ?

    Attachments:
    You must be logged in to view attached files.
    #3143

    rgambord
    Participant

    Have you tried:

    reference_to_weight_node.WorldPositionMatrix?

    PositionMatrix is only relative to the parent object.

    #3150

    john3310
    Participant

    Not yet, but I will try

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.