Need Help! Objects flying around!

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Jedijds
Posts: 126
Joined: Mon Jan 30, 2012 5:19 am

Need Help! Objects flying around!

Postby Jedijds » Wed Oct 03, 2012 8:22 pm

Trying to make a planet simulation with the gravity effects but the planet just bounces around. And if it’s directly on an axis the console gives me a ‘zero division error’
In theory this script should work, please help, it’s a basic script just a lot of math and variables.
Any suggestions/fixes to why the ‘plan1’ object skips around?
And could any one tell me why it keeps giving me the error?
Here is a .blend file
http://www.mediafire.com/?q3i94n7krn9vbae

‘plan1’ should be pulled to ‘planet’ and as it gets closer it should pick up speed.
۞◄█°‖‖‖‖‖█ʭʭ╬(░▒▓▓▒▒▒▒▒▒▒▒▒)

Jedijds
Posts: 126
Joined: Mon Jan 30, 2012 5:19 am

Postby Jedijds » Wed Oct 03, 2012 8:29 pm

It is also quite likely that I overlooked or over thought something, I tend to make simple things quite complicated.
۞◄█°‖‖‖‖‖█ʭʭ╬(░▒▓▓▒▒▒▒▒▒▒▒▒)


Return to “Python”

Who is online

Users browsing this forum: No registered users and 2 guests