Skip to content

Understanding add_body, and add_shape_mesh #840

Answered by eric-heiden
tueboesen asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tueboesen,

A (rigid) body is a dynamical object that holds inertia information in order to be simulated by the different integrators (we call them solvers now in Newton). Each body can have multiple shapes attached which are used to visualize the body and for collision handling.
Bodies are also used as links in articulations where joints are defined between a parent body (which may be -1 to indicate the static world frame) and a child body. Each shape has a shape transform which is relative to the frame of the body to which this shape is attached to.

We have cleaned up the API in Newton (the spiritual successor to warp.sim) so ModelBuilder.add_body() and ModelBuilder.add_shape_...() b…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tueboesen
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