Understood thot love2D is using Box2D as physic engine.
i wonder is there any available configuration through the net if anyone aware
Eg. the world is having gravity 9.8F, and if an empty box with 500gram, it will fall down and thouch the floor in 3 secs from 2 meter height
i believe this all might need a lots of trial-and-error before come out a realistic figure
instead of specify the m parameter, mass as 200, gravity as 500 etc, i would rather to check if there any available "planet vs box", "planet vs ballon" simulation so that everyone can reuse it and streamline the development time
Let me know if you guys know any resouces out there
Thanks!
Request: Physic configuration template for different objects
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Request: Physic configuration template for different obj
Correct me if I'm wrong, but I thought gravity is specified in Newton and mass in KG anyway.
Help us help you: attach a .love.
Re: Request: Physic configuration template for different obj
Erm... i have throw back the knowledge to my physic teacher.Robin wrote:Correct me if I'm wrong, but I thought gravity is specified in Newton and mass in KG anyway.
But if i am going to apply physic to my game, i really need to catch up my physic and maths
more important is, i would like to know any available resource on Box2D setup on simulate our gravity.
Thanks~
Re: Request: Physic configuration template for different obj
9.8F? The temperature for the (stupid and overcomplicated) customary system? What?
Gravity is ~9.81 m/s
Gravity is ~9.81 m/s
Hello, I am not dead.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Request: Physic configuration template for different obj
Not quite. Gravity (on earth's surface) is about 9.8 N (or kg×m/s²), depending on your exact location. I assumed weilies meant F = 9.8 N.zac352 wrote:9.8F? The temperature for the (stupid and overcomplicated) customary system? What?
Gravity is ~9.81 m/s
Help us help you: attach a .love.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Request: Physic configuration template for different obj
m/s².zac352 wrote: Gravity is ~9.81 m/s
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Request: Physic configuration template for different obj
I believe there are no 'kgs' on gravity.
Even if it's called 'a force', it is usually represented as an acceleration (so it should be measured in m/s²).
If you want to a force, in newtons, then you must call it weight, not gravity.
But I'm nearly as bad in physics as I am on maths, so I could be wrong.
Even if it's called 'a force', it is usually represented as an acceleration (so it should be measured in m/s²).
If you want to a force, in newtons, then you must call it weight, not gravity.
But I'm nearly as bad in physics as I am on maths, so I could be wrong.
When I write def I mean function.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Request: Physic configuration template for different obj
You're right, I mixed up some things.
F = G × m(earth × m(object) / r²
and
F = m × a
so
a = G × m(earth) / r²
and on the surface of earth, r remains almost the same, so you can calculate a, which turns out to be around 9.81 m/s², depending on your exact location (as I said before).
The F I was talking about isn't 9.81 N, it's 9.81 N for every kilogram.
F = G × m(earth × m(object) / r²
and
F = m × a
so
a = G × m(earth) / r²
and on the surface of earth, r remains almost the same, so you can calculate a, which turns out to be around 9.81 m/s², depending on your exact location (as I said before).
The F I was talking about isn't 9.81 N, it's 9.81 N for every kilogram.
Help us help you: attach a .love.
Re: Request: Physic configuration template for different obj
Sorry guys,
i dont mean to open a physic class here but to enquire any available, i mean tested planet simulation
So that a 500g basket ball can bounce like it suppose to be, a 3kg stone will not bounce, and a 1kg wooden box can bounce but not as high as the basket ball
i dont mean to open a physic class here but to enquire any available, i mean tested planet simulation
So that a 500g basket ball can bounce like it suppose to be, a 3kg stone will not bounce, and a 1kg wooden box can bounce but not as high as the basket ball
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Request: Physic configuration template for different obj
Oh, no. Not as far as I know. But it shouldn't be to hard to figure it out yourself.
Help us help you: attach a .love.
Who is online
Users browsing this forum: Amazon [Bot] and 1 guest