Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta








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.