#1
Copy rotation of one object to another
Archive: 11 posts
Like the title says, is it possible to have one object mimic the rotation of another? | 2014-11-27 02:05:00 Author: Tricky ![]() Posts: 46 |
Depends on the type of rotation, the object, and what kind of mimic. | 2014-11-27 02:21:00 Author: Devious_Oatmeal ![]() Posts: 1799 |
2 cardboard blocks, as soon as block 1 rotation changes, block 2 needs to keep the same rotation | 2014-11-27 02:44:00 Author: Tricky ![]() Posts: 46 |
Could you place the same rotation logic on both? If you have the rotation initiated, stopped, or changed with tags and sensors rather than direct inputs, it should control both at the same time. It wouldn't exactly make one object copy the other, but it would look that way. Of course that would only work if they both start and stop at the same time, and facing the same direction.. | 2014-11-27 04:09:00 Author: tdarb ![]() Posts: 689 |
Yup. Four angle sensors facing each of the four directions and each set to 180 degrees. Wire their outputs into two directional combiners as follows: First combiner UP + DOWN - Second combiner LEFT + RIGHT - (those are minus signs, btw). Wire the up/down combiner into the top input on a joystick rotator on the second object and the left/right combiner into the left input on the joystick rotator. Done. You can adjust the speed of the rotator to keep it a perfect 1:1 match or to allow it to lag behind but slowly catch up. http://www.lbpcentral.com/forums/attachment.php?attachmentid=49578&d=1417061771 You can also wire the combiners into separate tags and place tag sensors on the receiving object and wire them into the joystick rotator if you prefer a wireless connection between the two objects. Just be sure to set the tag sensors to receive signal strength rather than closeness. 49578 | 2014-11-27 04:17:00 Author: Sehven ![]() Posts: 2188 |
That can be done in a bunch of different ways, although it still depends on how often it will change, what will change it, and how it changes (Change in speed/direction/strength). | 2014-11-27 04:50:00 Author: Devious_Oatmeal ![]() Posts: 1799 |
I'm only wondering because it didn't sound like he wanted them to work via being controlled. But this can be done with tags if you like the wireless route of things. Really there are many avenues that you can take with this. | 2014-11-27 06:21:00 Author: Archon453 ![]() Posts: 142 |
I'm only wondering because it didn't sound like he wanted them to work via being controlled. Do you see a controllinator in the screenshot I provided? Joystick rotators don't need a joystick to work. They're just a way of converting two directional signals (U/D and L/R) into a single rotator... which is exactly what the op is asking for ![]() True, the most common use for a joystick rotator is, you know, a joystick, but I've done a LOT of work with rotators and rotation sensing (all the way back to LBP1) and I can vouch for my technique: it works flawlessly. | 2014-11-27 06:52:00 Author: Sehven ![]() Posts: 2188 |
Do you see a controllinator in the screenshot I provided? Joystick rotators don't need a joystick to work. They're just a way of converting two directional signals (U/D and L/R) into a single rotator... which is exactly what the op is asking for ![]() True, the most common use for a joystick rotator is, you know, a joystick, but I've done a LOT of work with rotators and rotation sensing (all the way back to LBP1) and I can vouch for my technique: it works flawlessly. Hmmm... I am now wondering if the bolts' outputs could be used for something like this. | 2014-11-27 07:07:00 Author: Devious_Oatmeal ![]() Posts: 1799 |
Isn't there an easy way to do this via the remote tag sensor? The tutorial in LBP2 cross controller pack should apply, right (except of course just have the transmitter and receiver on the same system) | 2014-11-27 08:05:00 Author: koltonaugust ![]() Posts: 1382 |
Sehven that worked awesome!! Thanks a million!! | 2014-11-30 04:07:00 Author: Tricky ![]() Posts: 46 |
LBPCentral Archive Statistics
Posts: 1077139
Threads: 69970
Members: 9661
Archive-Date: 2019-01-19
Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.