Add body/simple attribute to control simple body optimization.
PiperOrigin-RevId: 942164766 Change-Id: I1e83bb99b6a1955917eb9b2e9bed0dc7b8e6a161
This commit is contained in:
committed by
Copybara-Service
parent
4ecfe5c1f3
commit
5618666a7d
@@ -6087,6 +6087,12 @@ struct MjsBody {
|
||||
void set_sleep(mjtSleepPolicy value) {
|
||||
ptr_->sleep = value;
|
||||
}
|
||||
mjtByte simple() const {
|
||||
return ptr_->simple;
|
||||
}
|
||||
void set_simple(mjtByte value) {
|
||||
ptr_->simple = value;
|
||||
}
|
||||
mjDoubleVec &userdata() const {
|
||||
return *(ptr_->userdata);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user