Help with Space Game

Hello! I’m developing a space exploration game, and I’m trying to figure out a way to do custom gravity, where the player and objects are attracted to objects or models with bigger mass, I would like to use Newton’s equation F = G (m1m2)/r²*, but I don’t know how to do this, can someone explain to me how to do this? If you can, give me examples



wrong category, use #help-and-feedback:scripting-support

1 Like

Ah yes thanks, I had not seen, I changed now

You might be able to use Magnitude that correlate to the mass of the object, then pull other objects in with velocities that correlate to the distance.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.