You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to change <limit><velocity> and <limit><effort> dynamically during the simulation. Currently, it seems that these values are only read when parsing the model.
I've tried this, but changing the component data has no effect:
auto axisComponent = _ecm.Component<components::JointAxis>(this->joint);
axisComponent->Data().SetEffort(2.0);
I also tried re-creating the component, but that also doesn't change the physics engine behavior:
auto axisComponent = _ecm.Component<components::JointAxis>(this->joint);
axisComponent->Data().SetEffort(torque);
components::JointAxis axis(axisComponent->Data());
*axisComponent = axis;
The text was updated successfully, but these errors were encountered:
I'd like to change
<limit><velocity>
and<limit><effort>
dynamically during the simulation. Currently, it seems that these values are only read when parsing the model.I've tried this, but changing the component data has no effect:
I also tried re-creating the component, but that also doesn't change the physics engine behavior:
The text was updated successfully, but these errors were encountered: