Poll:
You do not have permission to vote in this poll.
Total 0 vote(s) 0%
* You voted for this item. [Show Results]

Partially-complete gravity well script!
#9
(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.
[Image: m2m2gSSDCz-2.png]

Well I WAS the walrus.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)