Skip to content

How to let a point follow a motion path to move #4143

Discussion options

You must be logged in to vote

Hi, for this I suggest to use the component LinearMovementConstraint. It is a projective constraint forcing the value of the position of a point following a parametric linear motion. Thank's to that you can enforce the position of a point inside of a isolated node and use it to move the base of your rope by linking its base to this point with a RestShapeSpringsForceField. e.g. :

<Node name="MotionNode">
          <MechanicalObject name="motion" template="Rigid3d" position="0 0 0 0 0 0 1" showObject="true" showObjectScale="0.01" />
          <LinearMovementConstraint 
              name='Movement' 
              keyTimes='0 0.1 20 25 30 35 40 45 50 55 60' 
              movements='
       …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bakpaul
Comment options

@kittykisser
Comment options

@bakpaul
Comment options

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