Author Topic: Physics  (Read 3325 times)

0 Members and 1 Guest are viewing this topic.

chanak

  • Associate
  • Posts: 2
Physics
« on: February 15, 2007, 07:12:34 PM »
Hi
I was wondering if someone ca post an example of physic ball with keys movement and a more complex surface for the ball to react with.

thx
all the best

Flag

  • Thug
  • *
  • Posts: 26
Re: Physics
« Reply #1 on: February 16, 2007, 01:13:36 PM »
Hi. Actually, a brand new tutorial is ready to be published, with full explanation on how to simulate such a on free falling body (a ball), featuring keyboard input for positioning the balls at any height and setting different initial speeds. This demo does'nt take into account drag forces (no fritcion), which will be hadled in the next tutorial. Another demo is being prepared, showing collision between balls.  If you just wait few days, it will be online. Stay tuned!

chanak

  • Associate
  • Posts: 2
Re: Physics
« Reply #2 on: February 16, 2007, 01:41:31 PM »
hi
sure I will stay tuned, I'm trying to create a ball game, so I have another question :)
Can the configuration be accesed from in the game ( for options ).

thanks

Jusan

  • Thug
  • *
  • Posts: 14
    • Page perso
Re: Physics
« Reply #3 on: February 16, 2007, 03:07:14 PM »
Hi,
I tried to make a  quick demo, in order to wait until Flag's tutorial  (I'm sure there won't be any comparison with flag's tutorial demo ... so be patient for greater things !)
Version 1.0 :
http://vincent.manuceau.net/Info/Hyperion/physicBall_v1.0.zip

a few screenshots :



I'm also waiting for your tutorial Flag (I'm currently working on a client/server FPS game
running on Hyperion and I'll have to tackle a lot of ball interaction-like problems!)

Flag

  • Thug
  • *
  • Posts: 26
Re: Physics
« Reply #4 on: February 16, 2007, 03:38:54 PM »
hi
sure I will stay tuned, I'm trying to create a ball game, so I have another question :)
Can the configuration be accesed from in the game ( for options ).

thanks

What to you mean by configuration? if you want to enable or disable some features in your demo, you can make it with the Hyperion/LUA API. You can set up options for your game. But iy you want to check the PC on which the demo actually runs, you have an element of the <scene> node that let you test the hardware characteristics of the graphics controller. You can refer to the Hyperion English reference guide, at the <check_hardware_caps element> element. Does it answer your question?

Flag

  • Thug
  • *
  • Posts: 26
Re: Physics
« Reply #5 on: February 16, 2007, 03:48:47 PM »
Hi,
I tried to make a  quick demo, in order to wait until Flag's tutorial  (I'm sure there won't be any comparison with flag's tutorial demo ... so be patient for greater things !)
Version 1.0 :
http://vincent.manuceau.net/Info/Hyperion/physicBall_v1.0.zip

I'm also waiting for your tutorial Flag (I'm currently working on a client/server FPS game
running on Hyperion and I'll have to tackle a lot of ball interaction-like problems!)


I think one of the tough problems is collision detection. This is particularly more difficult when we get high speed and fast moving objects (for example a distance based calculation between 2 frames shows that there have been no collision while in the "real" world  it happenned...). As soon as the "free falling body" tutorial will be done, we'll make a demo featuring sphere-plane and sphere-sphere collision showing these problems.
« Last Edit: February 16, 2007, 03:50:32 PM by Flag »