Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem








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.