• Collision Model with Interior
    4 replies, posted
I can't seem to make the collision model operate as I need it to. My aim is to be able to put objects inside this object, but no matter what I've done I can't seem to get it to function. It always comes out as a solid box in the model viewer. [CODE] $collisionmodel "holder_phys.smd" { $automass $inertia 1 $damping 0 $rotdamping 0 $concave 1 } [/CODE] Reference Model [IMG]https://i.gyazo.com/b002d552a2400ebc0c44ad1452bfb51f.png[/IMG] Collision Box - This is several rectangles that have been Ctrl + J (joined) to create one mesh. [IMG]https://i.gyazo.com/117a9a7ad61e484c88ec6db01d8df8ac.png[/IMG] Wireframe so you can see what I mean [IMG]https://i.gyazo.com/c3245aa29a05e1cbc44cac87029f8469.png[/IMG] Model Viewer: Don't mind that it is off on its position, that was just so you can see what it is doing. It is creating a singular bounding box with no internals so you can't put anything inside of it. [IMG]https://i.gyazo.com/c331561e8fae0c0796fd4501c449994f.png[/IMG]
Go to Edit Mode, select the whole thing, press W, Remove Doubles, Shade Smooth and it should be working
That partly worked. The inside is now** open to collisions, but the window to see inside is still covered. Any ideas? Need me to make a quick video panning around the scene? Blender View [video]https://i.gyazo.com/866f08594cbad9f2f644eddf56bebd77.mp4[/video] Model Viewer View [video]https://i.gyazo.com/3cd6a838e63260acf0cb69214fb3dfbf.mp4[/video] [editline]27th August 2017[/editline] Also in-game view [url]https://i.gyazo.com/491366d906adc9129492bc0faf46f407.mp4[/url]
Try to re-do the collision mesh. Sometimes stuff gets messed up, I once had to redo a collision mesh completely because it just would not work. Try making each parts to less overlap with the other parts
Alright, give me a minute, I'll try that! [editline]27th August 2017[/editline] [url]https://i.gyazo.com/f08fe2a7440963e0df5055fd675adc6a.mp4[/url] SUCCESS!! I've been modeling for gmod for about 3 months now and I've never heard of smooth shading... That is pretty sad haha. Thank you for your help!
Sorry, you need to Log In to post a reply to this thread.