amerkoleci / JoltPhysicsSharp

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

Joint Methods #63

Closed bjornbytes closed 6 months ago

bjornbytes commented 6 months ago

Adds some missing joint methods:

It compiles, but I haven't tested everything extensively yet.

amerkoleci commented 6 months ago

Looks good, thanks!

bjornbytes commented 6 months ago

I like changing FixedConstraintSettings to a struct! It's a lot easier for me to deal with in C. Do you think the other ShapeSettings/ConstraintSettings structs could receive the same treatment? I could work on it and send a PR.

amerkoleci commented 6 months ago

I like changing FixedConstraintSettings to a struct! It's a lot easier for me to deal with in C. Do you think the other ShapeSettings/ConstraintSettings structs could receive the same treatment? I could work on it and send a PR.

Problem is I need to add also the base ConstraintSettings in the C struct which I somehow missed with latest commit, lets investigate whats the best way to handle this.