Search found 2 matches

by Geklmin
Mon Jan 15, 2018 5:20 pm
Forum: General Bullet Physics Support and Feedback
Topic: Coordinate Space Conversions? Are there any?
Replies: 4
Views: 5050

Re: Coordinate Space Conversions? Are there any?

If object locations are in center of mass coordinates, how do I convert back to model coordinates so I can render the object? I need to create btCompoundShapes with multiple convex hulls that may not be centered at the origin. As in, I have a model to render and a collision hull. The coordinate syst...
by Geklmin
Sun Jan 14, 2018 1:40 am
Forum: General Bullet Physics Support and Feedback
Topic: Coordinate Space Conversions? Are there any?
Replies: 4
Views: 5050

Coordinate Space Conversions? Are there any?

OK. I have done enough OpenGL code to render my meshes at any location in 3D space, using a transformation 4x4 matrix. I can scale, rotate, translate, all the good stuff. Magic. I can even move my camera around in 3D space, and all that wonderful stuff using some maths from GLM (GL mathematics). I f...