Andres Traks
Andres Traks
It's the same as issue #2. Something goes wrong in the C++ HACD code when using P/Invoke, but I haven't found the problem. HACD does work in C++/CLI. This test...
It was an issue with the renderer that caused the leftmost mesh to get messed up. The vertex stride wasn't taken into account for StridingMeshInterfaces. This is fixed in https://github.com/AndresTraks/BulletSharpPInvoke/commit/af632cf597244940a65dd270730f5d5fdd22268c....
Some data wasn't properly written to the file. I made a quick fix, but I think the serialization code needs a bigger review.
I tried serializing the world in BasicDemo: https://github.com/AndresTraks/BulletSharpPInvoke/blob/7a5285cf535cfd4dd442b10535c2a5d79104428d/BulletSharp/demos/DemoFramework/Demo.cs#L292 and deserializing it in SerializeDemo: https://github.com/AndresTraks/BulletSharpPInvoke/blob/master/BulletSharp/demos/SerializeDemo/SerializeDemo.cs#L61
You can try setting the buffer size: ``` const int maxSerializeBufferSize = 1024 * 1024 * 5; DefaultSerializer serializer = new DefaultSerializer(maxSerializeBufferSize); ``` If the size is not set, then...
I'll answer about the crash in #58. There haven't been major updates to the core part of the Bullet library in a few years, so in terms of the API,...
Yeah, it's probably a good idea by now. System.Numerics was introduced in .NET 4.6 and I wanted to keep compatibility with .NET 4.0, which is not so relevant now. I'll...
There are currently no double precision System.Numerics types, so the double precision branch would have to keep using BulletSharp.Math.
I haven't looked into .NET core in C++/CLI, but I was able to compile and run the P/Invoke version (https://github.com/AndresTraks/BulletSharpPInvoke) with .NET Core. There is no binary release yet, but...
After [building](https://github.com/AndresTraks/BulletSharpPInvoke/wiki/Build-Instructions) libbulletc, you should copy libbulletc.dll next to your application executable so that BulletSharp could find it. You should also ensure that if your application is 32-bit, then libbulletc.dll...