Physics

Blitz3D Forums/Blitz3D Beginners Area/Physics

NerdyBrendan(Posted 2010) [#1]
Hi, as you may be aware (from my previous topics), I am creating a first person shooter. Unfortunately, I have encountered a problem. I have no code for this part yet, but say I wanted a cube rotated at an angle with gravity applied to it. I want it to be up in the air with ground (a plane) below. I want to make it so whichever way it lands it will roll and land 1 side up (if it collides with ground) like a dice.

Thankyou for any help provided as a response to this topic!


Charrua(Posted 2010) [#2]
hi

you could try: http://blitzbasic.com/Community/posts.php?topic=89067

Juan


stanrol(Posted 2010) [#3]
get a good bookon physics and read it.


Canardian(Posted 2010) [#4]
I read Einstein's special relativity theory, and now I'm lost how to apply it to a 3D physics engine.


Serpent(Posted 2010) [#5]
I'm not sure if many games would require special relativity coded into them :)

On topic:
Unless you have an understanding of physics yourself, you're better off using a physics library like the one Juan suggested. I'd definitely go for the latter option :P


Charrua(Posted 2010) [#6]
physics book or Einstein's special relativity theory?