Comments (5)
yes is possible with the rev version
just add static cylinder
from oimo.js.
thanks, but sorry, I don't get it to work when the other objects are IN the cylinder. They throw out.
from oimo.js.
how yes, cylinder only work outside not in the cylinder.
you have to use fixe box , you can use many box if fixed.
is easy to make simple script for that.
from oimo.js.
Ok, thanks.
from oimo.js.
Here is a quick and dirty sample to create some boxes around a circle:
var r=10.7;
var box_angle = 20.0;
var l = Math.abs(r * Math.cos(box_angle)) ;
for(var a = 0.0; a < 360; a+=box_angle) {
var a_ = a * (Math.PI/180);
var x = r * Math.cos(a_);
var y = r * Math.sin(a_);
physics.add_static_box(l,2.0,100,[x,y,0],[0,0,a+90]);
}
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.