DebugGeometryInfo
type definition:
export type DebugGeometryInfo = [
/* Address of vertex (float3) buffer in plugin */ number,
/* Number of vertices in the buffer */ number,
/* Address of triangle (int, int, int) buffer in plugin */ number,
/* Number of triangle in the buffer */ number
];
I was wondering if DebugGeometryInfo
also has data on the normal for each triangle? Hopefully, there’s a byte offset internally where this data is stored
Bullet and PhysX geometry debug visualizations include normal vectors for each triangle face, which was super helpful in debugging whether my meshes were “inside-out”. It would be amazing if Havok had this data too and its byte offset could be exposed
Thank you all for your help!