Comments (14)
@lo-th should reconsider this for 2 reasons :
-
Browserify. Being able to pull the package down through npm, list it as a project dependency (Just as with all my other depencendies) would be an invaluable asset. As already stated, npm is certainly no longer just for server-side packages.
-
Server-side running. This should also be coupled with a rewrite of some code that makes Oimo depend on canvas to operate. This would be Oimo an absolute knock-out of the park for a lot of projects. I am currently working on a multiplayer browser game, but with server side features, such as collision detection (And other anti-cheat measures).
Obviously, my server has no need to be rendering graphics, but if I could run the same physics on the server that are running on the client, I wouldn't need to be resorting to a myriad of nasty hacks I've implemented in the mean time.
I'm sure myself and some others who are interested could go about building the Oimo code to work in such a manner. Not a lot needs to be changed, but it would make all the difference in the world.
from oimo.js.
yea npm version is on way
now i know how process
like uil
i hope someday Saharan help me for adding creazy function
from oimo.js.
I agree with making this an NPM package,
using NodeJS modules to build client side applications is becoming a lot more common.
It's a small effort to provide a package.json and publish to NPM.
from oimo.js.
Beginner in 3D here.
Using BabylonJS (as most of the people starting out).
Using webpack + babel (as most of the people doing webapps professionally).
Oimo seemed perfect for me.
Oimo has no npm package.
yarn add cannon
instead.
Problem solved.
One user lost for Oimo, one user gained for Cannon.
from oimo.js.
@positlabs I disagree with you here. Babylon.js (which uses Oimo.js in its example documentation) is itself available at npm (as are many, many, many client side libaries). I think @substack makes a great point - if this were available on npm, a person could just npm install
babylon.js and oimo in a matter of seconds. Please reconsider
from oimo.js.
@computersarecool ditto. It's no longer true that npm is mainly server-side packages. If I could use it for server and client packages consistently, it would be ideal.
from oimo.js.
hum i have to test that, i don't use command or node.js
build folder is only containe final oimo.js version all other package is on js folder
no need external download. But i have many update to do like compound rigidbody, shooting ball...
from oimo.js.
IMO, it doesn't make sense to publish this library on npm. npm is for node packages, not client-side js libraries. If oimo.js is going to be published as a package, it should be on Bower. Bower is specifically used to manage front-end libraries like this one.
If I have time next week, I can try to take a stab at AMD modularization and publishing to Bower.
from oimo.js.
perhaps @lo-th might reconsider...
from oimo.js.
Any news about this?
from oimo.js.
@quasipedia Awesome! I'm going to use cannonjs now! 😄
from oimo.js.
Great to hear about!
If there's any hiccups in the process, I'll see if there's anything I could contribute.
from oimo.js.
is done !!!
from oimo.js.
🕺 🎆 🙇 ❤️
from oimo.js.
Related Issues (20)
- Perpetuum mobile)
- TypeScript declarations HOT 3
- RigidBody_X? HOT 1
- d.ts file build failed
- support torus for oimo HOT 2
- Body names are duplicated. HOT 1
- Is it possible to move a Rigidbody without using force? HOT 1
- Want the update example about magnetic force
- How to move a ridgidbody without them bumping up over eachother HOT 1
- Exporting a mesh into a 3D file?
- Contact detection bugs with kinematic bodies
- Importing an .stl file in as a rigidbody.
- How to visualize a physic object in the scene?
- Impossible to "lock" a body after ?
- Wrong Ineria of Cylinder about Y axis
- Contact callback HOT 2
- Differences between joint constraints.
- Documentation? HOT 3
- Importing convex mesh types to a world
- What design pattern is used by oimo.js? ECS mode? Component mode?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oimo.js.