First of all I'd like to say Hello to LOVE Community (which is friendly at first glance).
The second thing I'd like to remark is, that I choose LOVE to bring to life my small game idea, because it is, in fact, very popular 2d engine throughout the Internet (and because it uses such a sismple, but powerful and flexible language as Lua).
And now the First question I'd like to ask the Community (I used Search ): Is there such a thing as Spherical gravity simulation in LOVE physics engine?
P.S. I'm not a native english speaker, so I apologize for any mistakes in this (and all other) post
Hello to the Community
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Hello to the Community
Welcome! For spherical gravity, you'll probably want to calculate the angle of gravity for each object and then call Body:applyForce.
Note that love.physics is intended for objects of about 1-10 meters in size. If you want planetary simulation, it might be a good idea to roll your own gravity simulation.
Note that love.physics is intended for objects of about 1-10 meters in size. If you want planetary simulation, it might be a good idea to roll your own gravity simulation.
Help us help you: attach a .love.
- misterspok
- Prole
- Posts: 20
- Joined: Fri Apr 19, 2013 12:40 pm
Re: Hello to the Community
Straight to the point That is the way I want to use spherical gravity - planetary simulation. If I have to do my own gravity simulation for it - it's even better! I know a few formulas how to do it.
Thank you.
Thank you.
- misterspok
- Prole
- Posts: 20
- Joined: Fri Apr 19, 2013 12:40 pm
Re: Hello to the Community
BTW. Is there any chance we can get Q&A moderated thread for - well - questions and answers?
For instance, I have a question "What Lua version does LOVE 0.8.0 use?". And I don't see any point to create new thread to ask it.
For instance, I have a question "What Lua version does LOVE 0.8.0 use?". And I don't see any point to create new thread to ask it.
Who is online
Users browsing this forum: No registered users and 2 guests