Replies: 1 comment 1 reply
-
I used GLM math library, and basically created conversion functions in my physics class to return GLM types to see the positions/rotations. If i recall correctly, Bullet is row major in matricies, and GLM is column major by default. |
Beta Was this translation helpful? Give feedback.
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.
-
I've been trying for days use PyBullet as a physics engine for my game and I had some trouble displaying PyBullet's physics calculation. With weird rotations and position offsets being displayed in my OpenGL window (in relation to what is displayed in PyBullet's debug viewer). How do I correctly convert position/orientation data from PyBullet (for example getBasePositionAndOrientation()) to something PyOpenGL and PyGLM can use correctly and the opposite?
Beta Was this translation helpful? Give feedback.
All reactions