Skip to content
Discussion options

You must be logged in to vote

Jolt simulates rigid bodies, so in principle an arm cannot 'stretch'. That said, you can have two rigid bodies inside each other and connect them using a SliderConstraint so that they can slide out. You can drive these to a relative position using motors (SetMotorState(EMotorState::Position)) while limiting the force (MotorSettings::SetForceLimits). Ensure that the arm parts don't collide with each other by using a GroupFilterTable. Fingers can be made using HingeConstraints that can also be driven using motors. You could make the upper arm EMotionType::Kinematic and move it around using BodyInterface::MoveKinematic.

Search for the code references I gave in the Samples folder and you will…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BenzzzX
Comment options

@jrouwe
Comment options

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