Skip to content

Moving non-kinematic scene objects &  #62

Open
@Sebastian-Schroder

Description

@Sebastian-Schroder

Hey I was just wondering if there is an easy way to move scene models in 0.7.0. This is my attempt where we set the frame of each body and then step the rl::hal::Coach ptr, however this doesn't seem to update the

for (::std::size_t i = 0; i < model->getBodies(); ++i) // This sets all the axis models to the position of the arm transforms
        {
            auto t = model->getFrame(i);
            scene.getModel(2)->getBody(i)->setFrame(t); //! This should happen wheneve the model moves instead
        }
        sim_Controller->step();

is there any way to do this?
also is it possible to have scene models that don't have collision or remove scene models from the arm's collision using idref. these would be just used for visualising. for example adding axes onto each joint to demonstrate rotation etc etc.
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions