three.js - How to remove a section of a CubeGeometry? -


at moment i'm using threecsg/csg subtract small cube larger cube. works fine, of changes not actual geometry. when using physijs (physics engine) on cube, doesn't fall hole acts would. click demo.

is there way can remove section cubegeometry objects can fall - not display purposes? thanks!

threecsg change geometry, mean geometry in sense of three.js -- collection of vertices, faces, etc. think mean threecsg not change physics-based properties of object.

according https://github.com/chandlerprall/physijs/wiki/basic-shapes , appears though have use physijs.concavemesh "matches concave geometry have, i.e. arbitrary mesh", , 1 has change of supporting non-convex physical object.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -