@IcePhenixEx First of all you need a decent understanding of how to code for the game engine. What I basically did was to set an object property for all objects that I wanted to be effected by the gravity of a source object, and then I had the script get the respective distances of all the objects from the gravity source(s), and vectors leading to the source. Then, using the distance as the force determining factor (mass * (1/distance) * vector), I applied the obtained values to the force.
@IcePhenixEx (x,y,z) of each object effected by the gravity. Oh, and as a helpful hint, you might want to set a maximum value that the force can equal, otherwise the objects will jet out incredibly quickly as they approach the center of the gravity source
thanks for the answer but i don't know scripting.... never mind you should put a use for that....
IcePhenixEx 1 year ago
cool. how did u make that? how did u make an object have gravity plz reply.
IcePhenixEx 1 year ago
@IcePhenixEx First of all you need a decent understanding of how to code for the game engine. What I basically did was to set an object property for all objects that I wanted to be effected by the gravity of a source object, and then I had the script get the respective distances of all the objects from the gravity source(s), and vectors leading to the source. Then, using the distance as the force determining factor (mass * (1/distance) * vector), I applied the obtained values to the force.
tisachris 1 year ago
@IcePhenixEx (x,y,z) of each object effected by the gravity. Oh, and as a helpful hint, you might want to set a maximum value that the force can equal, otherwise the objects will jet out incredibly quickly as they approach the center of the gravity source
tisachris 1 year ago