amerkoleci / JoltPhysicsSharp

JoltPhysics C# bindings
MIT License
238 stars 34 forks source link

Fix heightfield shape instance passing #62

Closed jmiskovic closed 7 months ago

jmiskovic commented 7 months ago

In previous commit I introduced static to fix compiling issue while prototyping, and accidentally left it in. It works, but only for the first created shape. All other height fields assume the shape of the first one.

The height field shape is created just the same as any other shape and can reuse same code.

amerkoleci commented 7 months ago

Thanks!