03-10-2013, 08:43 AM
(03-10-2013, 05:31 AM)Omega Wrote: I think this pretty neat, Gravity sounds like a cool idea if you're making an SMG game or maybe a solar system of sorts. Well done!
I just have a question- is there a way you could make the script have a limit on how far the gravity goes, so I could kind of make an atmosphere environment instead of just massive gravity..?
Usually what I do is play around and experiment with the script if I wanna modify something, of course in the editor. I know this answer is stupid, and I might be wrong.. But I think you have to lower the number which is currently at 10 where it says: " velx = velx * (object.Mass / 10)
--gravitypull.Velocity = Vec2D(velx, gravitypull.Velocity.y)".
Like I said though, I'm not too sure.
Well I WAS the walrus.