Home    LBP Showcase / Reviews / Recommendations    Level Showcase
#1

TUTORIAL: Making circular motions in 3D

Archive: 2 posts


Have you ever seen platforms and enemies popping in and out of the background, creating crazy patterns, and wondered how you could do it yourself? You could always use a bendy rail, but that doesn't give you full control, now does it? After playing this fantastic level called Desert Disaster (https://lbp.me/v/q1-8d19/trailer?p=1&l=12) by Z1091990, I was blown away at the smoothness of the moving obstacles and platforms, and I was left wondering for a while how this was done with pure hard logic. And I found out. I assume this is not well known or too daunting for cretors, since I don't see it too often, and it's a shame really, because it looks really impressive.

The long explanation can be found in my tutorial (https://lbp.me/v/q1kyg5c/reviews) level. We go over some pretty complex theories and aspects, but nothing an avid creator with some good math knowledge can't tackle!

The short explanation is that the wave generator, one of the most overlooked additions of LBP3, creates a sinusoidal wave, and when set to positional, we can transform a signal representing an angle into it's Y component. Pretty cool stuff! As for the cosine, the mathematical formula cannot be easily reproduced with logic gates. However, if you've already studied trigonometry, then you already know that the sine and cosine are basically the same function, but one is 90? ahead of the other. So, knowing that a full 100% means a full lap, or 360?, we just add 25% delay to the input and presto! We have our X component. Then we just take one of them and put it into an advanced mover.

The implementation of full pseudo-3D was the biggest feature of LBP3, and it's really exciting when people use it to its full potential. I'm looking forward to this community taking full advantage of this and creating amazing levels. Cheers!

Sorry for the lack of visuals and dull post! But what would you expect from a tutorial?
http://lbp.me/v/q1kyg5c
2017-06-12 20:47:00

Author:
iluminacos
Posts: 13


Wow, this is sounding cool! I'm not afraid of mathematics so I will visit your tutorial level soon!
Thanks for sharing and many greetings, Jürgen^^
2017-06-13 08:31:00

Author:
CuriousSack
Posts: 3981


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.