Merge pull request #1010 from volzhs/convcolonly
Add convcolony option for create collisions
This commit is contained in:
commit
48555fcda4
|
@ -255,8 +255,8 @@ Remove nodes (-noimp)
|
|||
Node names that have this suffix will be removed at import time, mo
|
||||
matter what their type is. They will not appear in the imported scene.
|
||||
|
||||
Create collisions (-col, -colonly)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Create collisions (-col, -colonly, -convcolonly)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Option "-col" will work only for Mesh nodes. If it is detected, a child
|
||||
static collision node will be added, using the same geometry as the mesh.
|
||||
|
@ -268,6 +268,8 @@ To solve this, the "-colonly" modifier exists, which will remove the mesh upon
|
|||
import and create a :ref:`class_staticbody` collision instead.
|
||||
This helps the visual mesh and actual collision to be separated.
|
||||
|
||||
Option "-convcolonly" will create :ref:`class_convexpolygonshape` instead of :ref:`class_concavepolygonshape`.
|
||||
|
||||
Option "-colonly" can be also used with Blender's empty objects.
|
||||
On import it will create a :ref:`class_staticbody` with
|
||||
collision node as a child. Collision node will have one of predefined shapes,
|
||||
|
|
Loading…
Reference in New Issue