Инсталирайте Steam
вход
|
език
Опростен китайски (简体中文)
Традиционен китайски (繁體中文)
Японски (日本語)
Корейски (한국어)
Тайландски (ไทย)
Чешки (Čeština)
Датски (Dansk)
Немски (Deutsch)
Английски (English)
Испански — Испания (Español — España)
Испански — Латинска Америка (Español — Latinoamérica)
Гръцки (Ελληνικά)
Френски (Français)
Италиански (Italiano)
Индонезийски (Bahasa Indonesia)
Унгарски (Magyar)
Холандски (Nederlands)
Норвежки (Norsk)
Полски (Polski)
Португалски (Português)
Бразилски португалски (Português — Brasil)
Румънски (Română)
Руски (Русский)
Финландски (Suomi)
Шведски (Svenska)
Турски (Türkçe)
Виетнамски (Tiếng Việt)
Украински (Українська)
Докладване на проблем с превода
Facepalm... Its been a while since I played. Thanks!
//***********************************************************************//
//************* Component Declaration **************************//
//***********************************************************************//
// You can declare your Parts here.
// example
Part MyArm;
InputModule MyInputModule;
//***********************************************************************//
//********************* ArmConfiguration **************************//
//***********************************************************************//
public void ArmConfiguration(){
// You can define your Parts here
//Example
MyArm = new Arm2Joints(
"Z"
, new Joint( "Motor1", 1, 0 )
, MyArm = new Arm2Joints(
"Y"
, new Joint( "Motor2", 1, 0 )
, new SolidPart( 2*2.5F, 0, 0 )+new PistonPart( "Piston", "X" )
, new Joint( "Motor3", 1, 0 )
)
, new Joint( "Motor4", 1, 0 )
);
MyInputModule = new InputModule(
0.2F,
0.05F
);
}
//***********************************************************************//
//************************** Main ************************************//
//***********************************************************************//
public void Main(string argument) {
try {
// Put your code inside the try
// Example
Vector3 Speed = MyInputModule.Update();
var Remain = MyArm.Move( Speed );
if (Remain.Length() > Speed.Length()/4)
MyArm.Move( new Vector3() );
You defined "MyArm" inside "MyArm"
MyArm = new Arm2Joints(
"Z"
, new Joint( "Motor1", 1, 0 )
, MyArm = new Arm2Joints(
"Y"
, new Joint( "Motor2", 1, 0 )
, new SolidPart( 2*2.5F, 0, 0 )+new PistonPart( "Piston", "X" )
, new Joint( "Motor3", 1, 0 )
)
, new Joint( "Motor4", 1, 0 )
);
Try to remove that and tell me if that worked.
Conveyors hinges are set to 60 KNm by default.
If it tic once a second, that's the problem.
You should normally see it flash really quickly and hear it tic really fast.
The solid block I added at the end of the video was because I noticed while doing the video that it was missing and that was causing a missalignment.