Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.