unflipped directions
This commit is contained in:
Родитель
f8ab76a33e
Коммит
9acd15a2ac
|
@ -19,7 +19,7 @@ public class GripperDemoController : MonoBehaviour
|
||||||
Debug.Log(xDrivePostion);
|
Debug.Log(xDrivePostion);
|
||||||
|
|
||||||
//increment this y position
|
//increment this y position
|
||||||
float targetPosition = xDrivePostion + (float)moveState * Time.fixedDeltaTime * speed;
|
float targetPosition = xDrivePostion + -(float)moveState * Time.fixedDeltaTime * speed;
|
||||||
|
|
||||||
//set joint Drive to new position
|
//set joint Drive to new position
|
||||||
var drive = articulation.xDrive;
|
var drive = articulation.xDrive;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче