Difference between revisions of "User talk:Etho/Physics Engine"

From Worms Knowledge Base

Jump to: navigation, search
(to Dario)
(to Dario)
Line 16: Line 16:
  
 
any reply is based upon empirical tests.
 
any reply is based upon empirical tests.
1 they lose speed when they have to climb a pixel. dunno how much, I should run some tests with null friction.
+
 
2 right.
+
*1 they lose speed when they have to climb a pixel. dunno how much, I should run some tests with null friction.
3 right.
+
*2 right.
4 friction is applied for the only frame when the worm touches the ceiling.
+
*3 right.
5 no (CyberShadow wrote so, somewhere).
+
*4 friction is applied for the only frame when the worm touches the ceiling.
 +
*5 no (CyberShadow wrote so, somewhere).
 +
 
 +
- Pisto

Revision as of 19:00, 26 September 2007

This kind of info is soooo damn helpful for me, and I guess for many other wormers too. I'd love it to be amplified!, so I have some questions:

  • How does friction work when the surface isn't flat?, because worms don't slide the same length on a 45º surface than on a 10º surface.
  • Whenever a worm hits a horizontal surface, whether from above or below, the vertical (y) speed gets reduced to 0 and there is no bouncing effect, right?.
  • Then I guess that all the friction physics apply in the same way both to worms sliding on the floor or the ceiling, with the only difference that in one case gravity keeps the worm on the floor, while in the other it moves it away from the ceiling.
  • And how does the X speed changes when a worm hits a vertical surface?, besides bouncing they obviously lose some speed, but how much?.
  • Does the collition mask of a worm changes shape, size or orientation when the worm is sliding, bouncing or flying?.

Thanks! --Dario 17:24, 25 September 2007 (MST)

to Dario

any reply is based upon empirical tests.

  • 1 they lose speed when they have to climb a pixel. dunno how much, I should run some tests with null friction.
  • 2 right.
  • 3 right.
  • 4 friction is applied for the only frame when the worm touches the ceiling.
  • 5 no (CyberShadow wrote so, somewhere).

- Pisto

Personal tools