Blender object gravity simulation (+ Python inside)

preview_player
Показать описание
Make objects attract others (almost) respecting the Newton law. And use Python to make a random scene by copying objects and change properties.We manually create a first scene, then Python can be used to add randomness.

(Sorry for my english, and the badly made mixing, I did it quickly)

Рекомендации по теме
Комментарии
Автор

Excuse my french ! ^^
Un salut de Montpellier! ;)

zephilde
Автор

Nice job. Was hoping you posted the complete python script so we could cut & paste into Blender...

majorhavoc
Автор

I am trying to do everything in python script without manually clicking on the object. There is a problem with parenting. Or I am getting parents and random object duplication, or just objects without parented childs (force). Then 'body mass' and 'field strength' is not applicable, says: "AttributeError: 'NoneType' object has no attribute 'mass' " and "AttributeError: 'NoneType' object has no attribute 'strength' ". How to solve that? Please continue to make such excellent tutorials. It is great help!

heliumminingworld
Автор

Awesome project! Is there a way to monitor the gravitational strength of the accumulated clumb of particles?
I mean, the more particles are attracted to each other, the more the gravity strength becomes, hence it increases exponentially, right?
Can we print out the value of gravity in the scene to keep an eye on it?

mohamednedal
Автор

This is a great tutorial! I just want to ask you, how do I deal with the gathered objects spinning themselves apart?

IrreversibleExtents
join shbcf.ru