You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first of all thank you for creating & maintaining this project <3
I'm struggling to create a heightfield, would be great if an example was provided somewhere.
Stumbled upon an old related issue (#41) with some Kotlin code, however that uses cooking and is since outdated (uses Vector_PxHeightFieldSample)
Current attempt below - see comments.
Any help is appreciated!
Sorry completely missed that. First thing which is probably wrong is stridedData.setStride(2);. It should be stridedData.setStride(PxHeightFieldSample.SIZEOF);. Height field samples also have a material index, so it's more than only the two bytes for a short. I'm not sure if that's the only problem but I would start there.
Hi, first of all thank you for creating & maintaining this project <3
I'm struggling to create a heightfield, would be great if an example was provided somewhere.
Stumbled upon an old related issue (#41) with some Kotlin code, however that uses cooking and is since outdated (uses
Vector_PxHeightFieldSample
)Current attempt below - see comments.
Any help is appreciated!
The text was updated successfully, but these errors were encountered: