Repository navigation
Replies: 1 comment 1 reply
|
I think it makes sense to add transforms to the hull helpers. I use these for testing and it was never clear if anyone else would use them. I rotate the heightfield shape in Unreal for my own project. This not a big deal. How would you make it configurable without making the implementation awful? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Howdy!
While the docs state "Box3D has no built-in concept of up", there sort of is with some of the shapes.
b3CreateCylinderandb3CreateCone(which I admit are helpers) will orient the shape's up axis along the Y-axis. Additionally,b3HeightFieldDefhascountXandcountZand the height action is all in the Y. I can obviously add transforms to the shapes to orient them as needed (Z-up in my case), but it adds runtime complexity that would be wonderful to be able to avoid with some kind of configuration.All reactions