yoshinoToylogic / bulletsharp

Automatically exported from code.google.com/p/bulletsharp
MIT License
0 stars 0 forks source link

SoftBodyHelpers.CreateTriMesh with Vector3[] parameter doesn't work correctly on XNA. #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Creating 3 vertices with Vector3 and trying to create a softBody from it is not 
working. The vertices end up in wrong positions, and the triangle doesn't look 
ok.

The workaround that I'm using is create a float array where I save the 
Vector3.X, Vector3.Y and Vector3.Z values. So instead of having 3 Vector3, I 
have 9 floats and I call the CreateTriMesh that receives a float[] parameter.

I'm using BulletSharp 2.79 for XNA on Windows7 x64.

Thanks.

Original issue reported on code.google.com by sinste...@gmail.com on 24 Feb 2012 at 3:16

GoogleCodeExporter commented 8 years ago
I commited a fix, can you try it?

Thanks for reporting!

Original comment by andres.traks on 25 Feb 2012 at 1:20

GoogleCodeExporter commented 8 years ago

Original comment by andres.traks on 28 Mar 2012 at 8:28