Make the thrusters turn off when it isn't moving.
heyy im still really new at making my own stuff i've been playing with wiremod for a few months but have been using tutorials and stuff to learn how to wire basics, and this is my 2nd wiremod creation i made myselfyayy and i made this tiny robot that follows you (i know this has been made) and so when its not moving it shakes back and forth very quickly.. anyone know what i can do to fix this?
Make the thrusters turn off when it isn't moving.
Use this or figure out how to do it in gate form. (Comments include gates required)
Code:@inputs A @outputs Thrust interval(20) Thrust=A*(abs(A)>10) #Equivalent to an absolute, constant value, greater than, and a multiply
(\__/) <- Put this bunny in your sig and help him to rule the world!
(='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
(")_(") Expression Gate 2 Wiki Help us update the wiki! Together we can make it more up to date than the SVN! ...
hey where do i wire the stuff to? sorry for stupid question but i suck at thisthanks againn
![]()
If it shakes when it isn't moving, it needs delta. Unless you mean it shakes when it has no target.
Spawn a delta chip, rectified or not (doesn't matter for this). Wire its A to the forward thrust.
Wire the delta chip to a multiply chip and multiply it by 5 or so.
Spawn an add chip, wire its A to the original forward thrust, and B to the multiply chip. Wire the forward thruster to the add chip.
(ThrustWithDelta = Thrust + DeltaThrust*5)
If you need it to turn off when there's no target, the easiest way is to spawn a multiply chip, wire thrust to its A and the target finder's "1" output to the B.
(ThrustWithTarget = Thrust*TargetFinder)
Bookmarks