Skywanderers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rotaing Block

3 posters

Go down

Rotaing Block Empty Rotaing Block

Post by DarganLor Fri Dec 30, 2016 8:44 pm

Hello tsunamayo,

I have started playing around with the latest build and it is awesome! I built a cockpit with an opening canopy with the hinge block, and it works great. I'm now trying to build deploy-able landing gear, just to find out that I don't fully understand the logic system.

I have built a rotating block and bound it to a slider control, but on activating it through a button it ignores the slider position. How can I make it stop at the desired position?

Another question, when I have bound a system to a switch, is there a way to rebind it again without destroying the switch?

DarganLor

Posts : 11
Join date : 2016-12-26

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by Francois Sat Dec 31, 2016 10:46 am

Ok, could you please tell me wether the block is rotating 360 or not at all?
With rotating block the only thing to understand is that a signal of 0 map to 0 deg and 1 maps to 360deg. Now if you input 0.5 for example, the block will move towards 180deg. It behave as a target value. Once there you have to change the value to make it move again. If it was a 360deg it will go 300-200 then 180deg. If it was at 0 it will go the 100-180 deg route.
So if you need a flip-flop mechanism where the block rotate from 90deg to 180 deg for example, you need to produce a signal of respectively 0.25 - 0.5. A good and easy way to do that is to use the mix block: link a switch (produce 0 or 1 successively), then input a = 0.25 and b = 0.5, so the output will be mapped to this 0.25-0.5 interval. This block is just doing a linear interpolation between a and b with your input as the interpolating coefficient .
I wanted to do a quick video on this, but I am away from my computer for two days so it will have to wait a bit, sorry! Also for retractable landing gear I need more progress on collision, I will do another post to explain where I stand on collision, but It will be a good opportunity to work on that!

Francois
Guest


Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by Remitorm Darkwind Sun Jan 01, 2017 10:07 pm

am i the only one that didnt understand that explanation... this is why i personally just use manual
Remitorm Darkwind
Remitorm Darkwind

Posts : 86
Join date : 2016-12-17
Location : Cambridge, United Kingdom

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by tsunamayo Mon Jan 02, 2017 3:59 pm

OK no problem I will do a quick how-to video to show you how it works ! Razz

tsunamayo
Admin

Posts : 173
Join date : 2016-12-16

https://skywanderers.forumjap.com

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by tsunamayo Mon Jan 02, 2017 6:53 pm

Hey : so I did the video, tell me if this make more sense Idea


Also I will be adding a rotating block that rotate constantly to do radar dishes or other mechanism.

tsunamayo
Admin

Posts : 173
Join date : 2016-12-16

https://skywanderers.forumjap.com

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by DarganLor Tue Jan 03, 2017 2:54 am

Thanks tsunamayo. Much better now and actually very simple! Now I can finish my landing gear...

By the way, I saw that there is a small rotating block for the lego bricks, but it seems non-functional yet? Hope more logic systems come in the future for the lego bricks! Tons of possibilities!

DarganLor

Posts : 11
Join date : 2016-12-26

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by Remitorm Darkwind Sat Jan 07, 2017 1:39 am

like hover bikes which is personally what I'm waiting on
Remitorm Darkwind
Remitorm Darkwind

Posts : 86
Join date : 2016-12-17
Location : Cambridge, United Kingdom

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by tsunamayo Sat Jan 07, 2017 9:05 am

Yes in fact the small rotator for brick is made for turret, you can check the post over here : https://skywanderers.forumjap.com/t35-turret-creation-workflow
Now this is crappy I will change the turret system (this is what I explain in the post), and this brick will become the equivalent to the big rotator. I will also add more little mechanism for bricks.
Also I will also add a rotator that rotate continuously in one direction, for radar dishes ect.

tsunamayo
Admin

Posts : 173
Join date : 2016-12-16

https://skywanderers.forumjap.com

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by Remitorm Darkwind Sat Jan 07, 2017 7:44 pm

hmmm that will be fun for a rotating drill head design I have planned
Remitorm Darkwind
Remitorm Darkwind

Posts : 86
Join date : 2016-12-17
Location : Cambridge, United Kingdom

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by tsunamayo Sat Jan 07, 2017 8:16 pm

There is drill block unfortunately the preview dont show up I will fix it, but you can use it to destroy block around. This is the block just before the beam block (so one before last)

tsunamayo
Admin

Posts : 173
Join date : 2016-12-16

https://skywanderers.forumjap.com

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by Remitorm Darkwind Sat Jan 07, 2017 10:54 pm

huh it works for me are you on about its preview in the codex or when youve placed the actual block?
Remitorm Darkwind
Remitorm Darkwind

Posts : 86
Join date : 2016-12-17
Location : Cambridge, United Kingdom

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by tsunamayo Sat Jan 07, 2017 10:56 pm

Yes just the icon in the codex or in the item bar. I will fix that soon.

tsunamayo
Admin

Posts : 173
Join date : 2016-12-16

https://skywanderers.forumjap.com

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by Remitorm Darkwind Sat Jan 07, 2017 11:06 pm

hmm i dont think its a high priority infact it may be a good thing if you plan to have different types of drill heads as then you place the motor and the actual drill head seperatley
Remitorm Darkwind
Remitorm Darkwind

Posts : 86
Join date : 2016-12-17
Location : Cambridge, United Kingdom

Back to top Go down

Rotaing Block Empty Re: Rotaing Block

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum