Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about metres, seconds, grams and newtons. #25

Closed
slacktracer opened this issue May 18, 2014 · 1 comment
Closed

A question about metres, seconds, grams and newtons. #25

slacktracer opened this issue May 18, 2014 · 1 comment

Comments

@slacktracer
Copy link

I'm very interested in using matter.js for a project (the demos are very compelling) but I must know something first, hope you're able to help me, when I set an body size or apply a force is it like I'm defining in metres and newtons?

I hope I'm being, at least a little, clear. I would like to elaborate a simulation of some interaction using realistic values. For example, I have this circle with one metre radius and a mass of 30 kilograms over which I would apply 50 newtons in a specified direction. Then I just have to set the relation between metres and pixels before rendering it (myself).

Is it possible with matter?

@liabru
Copy link
Owner

liabru commented May 19, 2014

The units are all relative, so as long as you're using consistent scales it should be fine I think.
As you say, first define your scales and then convert all your measurements to it - all that really matters should be the relative proportions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants