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

Object with zero mass #4

Closed
mrsmkl opened this issue Mar 14, 2012 · 1 comment
Closed

Object with zero mass #4

mrsmkl opened this issue Mar 14, 2012 · 1 comment

Comments

@mrsmkl
Copy link

mrsmkl commented Mar 14, 2012

Need to have a normal object with zero mass: setCollisionFlags(0)

@chandlerprall
Copy link
Owner

Collision flags can now be set at object creation

box = new Physijs.BoxMesh(
    new THREE.CubeGeometry( 4, 4, 4 ),
    new THREE.MeshLambertMaterial({ color: 0xdd7755 }),
    0, // mass
    { collision_flags: 0 }
);

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