mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-27 08:20:47 +00:00
c64eea6337
This adds support for generating collide meshes when importing custom
models. A couple of things to keep in mind:
- A single `collide-mesh` may only have up to 255 vertices.
- When exporting a GLTF file in Blender, a `collide-mesh` will be
generated for every mesh object that has collision properties applied
(ideally, you would set all visual meshes to `ignore` and your collision
meshes to `invisible` in the OpenGOAL plugin's custom properties).
- Ensure that your actor using the model properly allocates enough
`collide-shape-prim-mesh`es for each `collide-mesh` ([example from the
original game that uses multiple
meshes](
|
||
---|---|---|
.. | ||
assets | ||
common | ||
external | ||
graphics | ||
kernel | ||
mips2c | ||
overlord | ||
sce | ||
settings | ||
sound | ||
system | ||
tools | ||
CMakeLists.txt | ||
main.cpp | ||
runtime.cpp | ||
runtime.h |