Город МОСКОВСКИЙ
00:06:43

More experiments computing PI using Unity physics with colliding blocks (3Blue1Brown way)

Аватар
Python: революционный подход
Просмотры:
27
Дата загрузки:
02.12.2023 18:13
Длительность:
00:06:43
Категория:
Обучение

Описание

I continue my experiments computing number Pi the 3Blue1Brown way with colliding blocks using bare-bones Unity game engine's physics and make it work with a mass ratio of 1 000 000, which produces a correct value of Pi with a precision of 3 decimal digits. Will I be able to achieve better precision? - Subscribe not to miss the answer:)

This video is the third part of my quest in computing number Pi with two colliding blocks and Unity physics. Watch the previous parts:
1) Computing PI using Unity game engine's built in physics with colliding blocks (3Blue1Brown way) - https://youtu.be/0gWwEHEhcnY
2) Generating objects in Unity's edit mode (Parametric objects in Unity) - https://youtu.be/KCDYdQUufhs

0:00 - Overview
0:33 - Visual Adjustments
0:48 - No Freeze Rotation
2:03 - Freeze big block rotation
2:15 - Freeze small block rotation
2:30 - Freeze rotation of both blocks
2:49 - Tinker with Fixed Timestep and Velocity/Position Iterations
3:27 - Trying 100 000 kg
3:44 - Fixing Velocity Threshold
4:13 - Trying 1 000 000 kg
4:47 - Trying 10 000 000 kg
6:07 - Outro

Video by NASA-Imagery from Pixabay:
https://pixabay.com/videos/id-230/
https://pixabay.com/videos/id-233/

Music and sounds from https://www.zapsplat.com

Рекомендуемые видео