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
Hello,
I have the following problem:
I am trying to set up a triangle mesh using the NVIDIA documentation: NVIDIA Docs. When I run the code, I get a warning that the triangles are too large. However, this is not true (max. 1.5). I also get the following error:
C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\physx-sys-0.11.1\physx/physx\source/geomutils/src/cooking\GuCookingTriangleMesh.cpp (202) : warning : TriangleMesh: triangles are too big, reduce their size to increase simulation stability!
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Repeat 2 times:
--------------------------------
at MagicPhysX.NativeMethods.phys_PxCookTriangleMesh(MagicPhysX.PxCookingParams*, MagicPhysX.PxTriangleMeshDesc*, MagicPhysX.PxOutputStream*, MagicPhysX.PxTriangleMeshCookingResult*)
--------------------------------
According to the documentation, you can create PxDefaultMemoryInputData with two parameters writeBuffer.getData(), writeBuffer.getSize(), but in C# the struct only declares the field structgen_pad0.
Thank you very much for your help and work on this project!
The text was updated successfully, but these errors were encountered:
Hello,
I have the following problem:
I am trying to set up a triangle mesh using the NVIDIA documentation: NVIDIA Docs. When I run the code, I get a warning that the triangles are too large. However, this is not true (max. 1.5). I also get the following error:
And here is my code:
Another problem is in the code after that:
According to the documentation, you can create
PxDefaultMemoryInputData
with two parameterswriteBuffer.getData(), writeBuffer.getSize()
, but in C# the struct only declares the fieldstructgen_pad0
.Thank you very much for your help and work on this project!
The text was updated successfully, but these errors were encountered: