dJointAttach

@brief Attach the joint to some new bodies. @ingroup joints

If the joint is already attached, it will be detached from the old bodies first. To attach this joint to only one body, set body1 or body2 to zero - a zero body refers to the static environment. Setting both bodies to zero puts the joint into "limbo", i.e. it will have no effect on the simulation. @remarks Some joints, like hinge-2 need to be attached to two bodies to work.

extern (C) nothrow
void
dJointAttach

Meta