Skip to content

Giving motion to bodies #281

Answered by janbender
nimeeshrathi asked this question in Q&A
Discussion options

You must be logged in to vote

Either you could use an angular motor and use the field "targetSequence" to implement this motion. The field contains a sequence of time,target values. Similar to example "MotorScene2.json". However, I would use a "TargetAngleMotorHingeJoints".

Or you could use our Python binding. E.g., by using an embedded Python script (see AnimatedBody_2D.json/py).

Replies: 1 comment 1 reply

Comment options

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

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