group moving when i use cannon #241
-
Hi, I export a gltf model, like this: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Are you using a compound body? |
Beta Was this translation helpful? Give feedback.
-
cannon assumes that objects are absolute, they can't be relatively nested. the object structure of physical main objects should be flat. the individual objects can be nested. the reason for this is that cannon is controlling these objects, and it cannot be aware of all the layers around it. you give it an object and its now under the full control of the physics provider. |
Beta Was this translation helpful? Give feedback.
cannon assumes that objects are absolute, they can't be relatively nested. the object structure of physical main objects should be flat. the individual objects can be nested. the reason for this is that cannon is controlling these objects, and it cannot be aware of all the layers around it. you give it an object and its now under the full control of the physics provider.