I’ve been trying for a couple of days now to add a bucket to my scene with box colliders, but I’m having a lot of trouble getting things to work properly. I’ve read the documentation carefully and tried to examine the babylonjs source code to understand what’s going on
This is my playground: Babylon.js Playground
- I can’t seem to get the child colliders to scale properly, in the physics debug view it looks like the boxes are too big, what’s going on here?
- The entire imposter is behaving weird, especially if I run it without the debug view open, should I not copy the position like I’m doing?
- If I turn off the
new PhysicsImposterlines (line 45 and 48), everything seems to align properly.
Any help is very much appreciated!!
this is where the bucket should be
this is what happens with imposters enabled