You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure if there is an easy way to do this. I'm testing out the library and would like to make a pile of concave shapes all fall to the floor and interact. I've gotten as far as the simple demo from the docs (spinning red cube), but how do I convert to the basic shading style the rest of the demos use?
They all call Demo and I was looking through that class - but if all I need is "see objects in a regular rendering", is there some lines that I can pull out? A light source plus basic shading?
I'm unsure if there is an easy way to do this. I'm testing out the library and would like to make a pile of concave shapes all fall to the floor and interact. I've gotten as far as the simple demo from the docs (spinning red cube), but how do I convert to the basic shading style the rest of the demos use?
They all call
Demo
and I was looking through that class - but if all I need is "see objects in a regular rendering", is there some lines that I can pull out? A light source plus basic shading?Maybe https://github.com/pmndrs/cannon-es/blob/master/examples/js/Demo.js#L104 ?
The text was updated successfully, but these errors were encountered: