Search found 4 matches

by jumpa
Mon Dec 08, 2014 7:38 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to get the tangents for a point on a spherical surface?
Replies: 9
Views: 11385

Re: How to get the tangents for a point on a spherical surfa

Thank you so much your help, the world is not flat anymore :wink:
I now have a working prototype for the 3D Platform Game Engine, you can watch a demonstration here:
http://youtu.be/pkWeBMTsfOo


PS. Please feel free to contribute to this game by forking it on: https://github.com/phoboz/tuxgal
by jumpa
Sat Nov 29, 2014 10:27 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to get the tangents for a point on a spherical surface?
Replies: 9
Views: 11385

Re: How to move correctly on sphere surface?

Hello again, I have read how to create a plane in normal form. It wasn't that hard, but now I hope to get away from using the tangent vectors since the incremental quaternions worked so nicely. :wink: Now I am working on getting the player character to move smoothly over the spherical planet surface...
by jumpa
Thu Nov 27, 2014 7:22 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to get the tangents for a point on a spherical surface?
Replies: 9
Views: 11385

Re: How to get the tangents for a point on a spherical surfa

I have tried it and it looks okay in 3D :D was never thinking in that direction. Instead I was reading how to convert a plane in normal form to parametric form, it appeared to be a little bit more complex. Still I believe that it would be useful to be able to get the tangent plane from bullet. I don...
by jumpa
Thu Nov 27, 2014 9:57 am
Forum: General Bullet Physics Support and Feedback
Topic: How to get the tangents for a point on a spherical surface?
Replies: 9
Views: 11385

How to get the tangents for a point on a spherical surface?

Hello, I am trying to implement a game engine where a character can run and jump on the surface of a planet, with the gravity vector points towards the planet center. I have managed to calculate the gravity vector towards the planet center with this formula: body->getMotionState()->getWorldTransform...