swift502 / Sketchbook

3D playground built on three.js and cannon.js.
https://jblaha.art/sketchbook/latest
MIT License
1.47k stars 389 forks source link

Doubt #45

Open guiseek opened 2 years ago

guiseek commented 2 years ago

I open the glb file in blender, I make a change, but when I load the map in the game the change is apparently correct, but it is like a ghost. for example, if I take out a wall, the wall disappears, but the car still bumps into it, you know? how do i solve this?

Inthenew commented 2 years ago

I don't think this is maintained anymore, the last update was Jan 2021.

swift502 commented 2 years ago

@Inthenew You're right though I still try to answer stuff occasionally.

@guiseek There's two layers, graphics and physics. You probably have to delete both. If a car bumps into something than it's an object in the physics collection in Blender. You have to adjust that as well.

That's another thing you have to edit the blend source file from the src/blend folder. Reverse engineering the glb files was never meant to be the workflow and isn't guaranteed to work.

guiseek commented 2 years ago

@Inthenew You're right though I still try to answer stuff occasionally.

@guiseek There's two layers, graphics and physics. You probably have to delete both. If a car bumps into something than it's an object in the physics collection in Blender. You have to adjust that as well.

That's another thing you have to edit the blend source file from the src/blend folder. Reverse engineering the glb files was never meant to be the workflow and isn't guaranteed to work.

@swift502 I wrote glb by mistake, I used the same .blend file, I must look for the physics layer inside it to erase it too, that's it, right?

swift502 commented 2 years ago

must look for the physics layer inside it to erase it too

Yes, pretty much.