Installer Steam
Logg inn
|
språk
简体中文 (forenklet kinesisk)
繁體中文 (tradisjonell kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tsjekkisk)
Dansk (dansk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spania)
Español – Latinoamérica (spansk – Latin-Amerika)
Ελληνικά (gresk)
Français (fransk)
Italiano (italiensk)
Bahasa Indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (nederlandsk)
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasil)
Română (rumensk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (vietnamesisk)
Українська (ukrainsk)
Rapporter et problem med oversettelse
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.