STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
285
游戏中
1,856
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
Hobbes 2016 年 7 月 21 日 上午 4:38
Exporting concave physics mesh
Hello. I couldn't find much up-to-date information with regards to exporting a concave collision mesh. I found that I need to apply Shade Smooth modifier to the collision mesh, but what if I want to have a concave collision mesh consisting of multiple smoothing groups? Should I select the faces for each smoothing group manually and apply the modifier one by one?


< >
正在显示第 1 - 2 条,共 2 条留言
Harry 2016 年 7 月 21 日 上午 5:05 
引用自 Hobbes
Hello. I couldn't find much up-to-date information with regards to exporting a concave collision mesh. I found that I need to apply Shade Smooth modifier to the collision mesh, but what if I want to have a concave collision mesh consisting of multiple smoothing groups? Should I select the faces for each smoothing group manually and apply the modifier one by one?

You have to do it manually.

Hobbes 2016 年 7 月 21 日 上午 5:21 
Alright, I created a new object for the collision mesh and did this:
1. Create a box
2. Create a plane
3. Select faces of box and apply shade smooth
4. Select faces of plane and apply shade smooth
5. Export the model

However the mesh is still a single convex mesh when tested in HLMV or in game. I have enabled $concave in qc.

If you (or someone) had an example .smd for a physics mesh with multiple concave sections, I could compare that to mine and see what I'm doing wrong.

EDIT: I thought a bit more about how does Source detect different collision meshes. I assume it is from faces that have edges with matching normals (as that's what AFAIK shade smooth would do)? In that case I might need to use something better than a plane.
EDIT2: Yup, seems to work a lot better! Thanks for help.
最后由 Hobbes 编辑于; 2016 年 7 月 21 日 上午 5:25
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2016 年 7 月 21 日 上午 4:38
回复数: 2