Merge pull request #1010 from volzhs/convcolonly

Add convcolony option for create collisions
This commit is contained in:
Rémi Verschelde 2018-01-23 23:30:46 +01:00 committed by GitHub
commit 48555fcda4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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,