• Collision Help
    11 replies, posted
I have been attempting my first model of a silo, however my collision mesh is not working correctly. [IMG]http://account.gmservers.co.uk/2012-11-04_00001.jpg[/IMG] I don't seem to be able to fall into the silo for some reason, here is my QC file: [CODE] $modelname "core_models/silo.mdl" $scale 1.0 $body "Body" silo.smd $surfaceprop "metal" $collisionmodel "silo_phys.smd" { $mass 1000 $concave } $sequence idle "silo.smd" fps 15 ACT_IDLE 1 [/CODE] I compiled using GUIStudioMDL, here is a screenshot of the options I chose: [IMG]http://account.gmservers.co.uk/studiomdlshot.jpg[/IMG] Any ideas?
[QUOTE=KillerLUA;38317609]I have been attempting my first model of a silo, however my collision mesh is not working correctly. [IMG]http://account.gmservers.co.uk/2012-11-04_00001.jpg[/IMG] I don't seem to be able to fall into the silo for some reason, here is my QC file: [CODE] $modelname "core_models/silo.mdl" $scale 1.0 $body "Body" silo.smd $surfaceprop "metal" $collisionmodel "silo_phys.smd" { $mass 1000 $concave } $sequence idle "silo.smd" fps 15 ACT_IDLE 1 [/CODE] I compiled using GUIStudioMDL, here is a screenshot of the options I chose: [IMG]http://account.gmservers.co.uk/studiomdlshot.jpg[/IMG] Any ideas?[/QUOTE] Can we see your Collision model smd file?
Here is my physics model when I manage to get it to at least compile: [URL="http://account.gmservers.co.uk/silo_phys.smd"]SMD File[/URL] [IMG]http://account.gmservers.co.uk/physicsscreenshot.png[/IMG]
[QUOTE=KillerLUA;38319654]Here is my physics model when I manage to get it to at least compile: [URL="http://account.gmservers.co.uk/silo_phys.smd"]SMD File[/URL] [IMG]http://account.gmservers.co.uk/physicsscreenshot.png[/IMG][/QUOTE] You do realize you need to create collision model manually unless it's convex? In your case the model is concave therefore collision model has to be made manually (modelled)
[IMG]http://account.gmservers.co.uk/modelineditor.png[/IMG] I did model it manually, and it is compiled to a seperate .smd.
[QUOTE=KillerLUA;38319728][IMG]http://account.gmservers.co.uk/modelineditor.png[/IMG] I did model it manually, and it is compiled to a seperate .smd.[/QUOTE] Is collision model segments separate? or just one solid block?
I believe they are separate, I am using Google Sketchup since I'm new to everything Modelling. I'll try and see if it works that way.
Each side has to have a different smoothing group. That's also a pretty weird collision model. You should use a cylinder, not a box. Each side of the cylinder should have a different smoothing group. (8 sided cylinder = 8 different smoothing groups for example) [img]http://i.imgur.com/KSsge.png[/img] Each color would be a different smoothing group in this case. You should also have the bottom of the cylinder be different. [editline]5th November 2012[/editline] That is basically what arleitiss said. I'm not sure if Sketchup uses smoothing groups. Separate objects should work; eg. if you make each wall of the block separately.
In some cases you need to skin each segment to different bone. But that's different story. Try out smoothing groups first, atm they seem all the same.
How do I set smoothing groups in Google Sketchup? I can smooth the model with an angle, but that's about it.
[QUOTE=KillerLUA;38319927]How do I set smoothing groups in Google Sketchup? I can smooth the model with an angle, but that's about it.[/QUOTE] I heard google sketchup free version doesn't have smoothing groups? Smoothing groups aren't actually changing mesh/model shape or polycount, it's mostly visual effect. You should really try using Blender. It's free too.
Whenever I attempt to compile I get this: [QUOTE] SMD MODEL silo.smd SMD MODEL silo_phys.smd WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.50Ò‘i}Y@0 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Error with convex elements of silo_phys.smd, building single convex!!!! [/QUOTE] I solve this by smoothing everything with 180 (degrees) and selecting everything then using 'Make Componenent'. It then seems to compile. I separated all the sides into differant objects, this time it comes out like this: [IMG]http://account.gmservers.co.uk/physicsscreenshot2.png[/IMG] [editline]5th November 2012[/editline] [QUOTE=arleitiss;38319955]I heard google sketchup free version doesn't have smoothing groups? Smoothing groups aren't actually changing mesh/model shape or polycount, it's mostly visual effect. You should really try using Blender. It's free too.[/QUOTE] I tried blender, but I just couldn't deal with the controls. I never got the result I wanted and I found the interface impossible to use. I am using Google Sketchup 7 Pro.
Sorry, you need to Log In to post a reply to this thread.