[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "Blender/Custom Collision"
Jump to navigation
Jump to search
no edit summary
imported>Morerunes m (updated resource pack download) |
imported>Morerunes |
||
Line 37: | Line 37: | ||
[[Image:BlenderCollisionExample2.png]] | [[Image:BlenderCollisionExample2.png]] | ||
When it fits perfectly how you want it to, go to object mode, and make any necessary rotations. This must be done in '''object''' mode, otherwise the rotation won't work. Go to object options. Change Draw Type to bounds. | When it fits perfectly how you want it to, go to object mode, and make any necessary rotations. This must be done in '''object''' mode, otherwise the rotation won't work. Go to object options. Change Draw Type to bounds. The default is Box, but you can choose cylinder by changing box to cylinder in the drop down menu to the right, or sphere by choosing sphere. | ||
[[Image:BlenderCollisionExample3.png]] | [[Image:BlenderCollisionExample3.png]] | ||
==== | ====Convex Hull Polytope==== | ||
'I recommend Static TriangleMesh instead of Convex Hull' | |||
This is a bit different, but almost as easy. Basically, the idea is that you make a regular mesh (do it all in edit mode, makes it easier on you later), and then make it a Convex Hull Polytope, and oblivion recognizes it as collision. This is only for convex shapes, so you can't make something like a sphere with an inward dent, only an outward dent (and certainly not a Harvey Dent). Please note that this may not catch arrows, so if it needs to catch arrows use Static TriangleMesh instead. So, after you make the shape of it in edit mode, go to Object mode, and do set it to only display bounds, but under Draw Extra, also click Wire. | This is a bit different, but almost as easy. Basically, the idea is that you make a regular mesh (do it all in edit mode, makes it easier on you later), and then make it a Convex Hull Polytope, and oblivion recognizes it as collision. This is only for convex shapes, so you can't make something like a sphere with an inward dent, only an outward dent (and certainly not a Harvey Dent). Please note that this may not catch arrows, so if it needs to catch arrows use Static TriangleMesh instead. So, after you make the shape of it in edit mode, go to Object mode, and do set it to only display bounds, but under Draw Extra, also click Wire. | ||
Line 64: | Line 53: | ||
====Static TriangleMesh==== | ====Static TriangleMesh==== | ||
Make a low-poly version of your mesh that you will use as the collision. In most cases it should fit over your mesh fairly smoothly. Don't use too many polygons, or it will slow down your game. Then under object properties set drawmode to bounds, and change box to Polyheder and under Draw Extra choose Wire. | |||
[[Image:BlenderCollisionStaticMeshExample1.png]] | |||
====The "Other way to do it"==== | ====The "Other way to do it"==== |