-
Notifications
You must be signed in to change notification settings - Fork 31
ImportCollisionGeometry
Hariiiiiiii edited this page Feb 2, 2021
·
11 revisions
The importcollisiongeometry command is used to create a new .coll tag using a model in a format accepted by the Open Asset Import Library (Assimp). Arguments can be used to optionally generate BSP Physics and MOPP code blocks to allow this coll tag to also provide player collision. See the
importcollisiongeometry [mopp] [force] [debug] <input file dir> <tagname>
- mopp - generate BSP Physics and MOPP code blocks to allow this coll tag to also provide player collision
- force - bypass certain checks on model import including the open edge check. WARNING: collision models with open edges may cause severe physics issues
- debug - increase verbosity of error output to help debug model issues
Models imported using this command must have:
- no open edges
- no more than two surfaces sharing a single edge
- no overlapping surfaces
- no more than 65535 edges, vertices, or surfaces