Game Development Community

Gravitic?

by David Taylor · in Torque Game Builder · 07/07/2006 (5:33 pm) · 3 replies

I've got an object which is a planet, and I want it to be able to draw objects closer to it, so when I saw the Gravitic option in the Physics dropdown menu, I thought that would do the trick. But when I tick the Gravitic box and attribute a force of 100, absolutely nothing happens - no objects get drawn closer or anything. Have I completely misunderstood what this Gravitic option does? And if so, how can I get another object, (for example, a spaceship that flies past), to get drawn towards the planet?

#1
07/07/2006 (7:39 pm)
Http://tdn.garagegames.com/wiki/TGB/Reference:_Glossary#Gravitic_Force
#2
07/07/2006 (7:54 pm)
Thanks, Ian, although that definition isn't very indepth. Does that mean it doesn't refer to magnetic properties?
#3
07/08/2006 (9:28 pm)
The 'Gravitic' checkbox applies to the 'Constant Force' on an object. It specifically means whether or not to use mass in Constant Force calculations on that object. Thats all it does.

For more information on creating magnetic fields or gravity well, check out the thread with "Gravity Wells" in the title in this section (Torque 2D Game Builder Private Forums >> Collision and Physics).