RUVIDEO
Поделитесь видео 🙏

GMod: Hovering cube with six thrusters, now functioning optimally

In this stream I demonstrate and reconstruct a control scheme for a cube with six thrusters. My setup is:
Garry's mod with:
- Wiremod
http://www.wiremod.com/
- Smartsnap (not necessary to build, just works well for precise easywelds)
https://steamcommunity.com/sharedfiles/filedetails/?id=104815552

In my original stream earlier this week, I walked through the problem of making a cube hover in various orientations. My previous solution used the Pitch and Roll angles of the cube, and the cosine of the Roll angle to scale the thruster on each face of the cube to balance the force needed to negate gravity. However, since the top and bottom thrusters accounted only for the roll (and not both the pitch and roll), it would thrust itself excessively in one direction. I recognized that I needed the cosine of the pitch+roll, a sum which is sort of unintuitive to work with and, as I realized, not the most elegant solution.

Throughout this week, I realized that I could find the cosine of that angle via the dot product. By comparing the top, right, and forward vectors of the object with the world gravity vector through the dot product, I was able to find the scale factor for each thruster to balance the forces, and achieved a hovering (although spinning) cube. Applications of this include working with similar devices thrust by fans.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «GMod: Hovering cube with six thrusters, now functioning optimally», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.