first try to port it to box2d, this doesn't seem right
first try to port it to box2d, this doesn't seem right
Hello! This isn't really what you asked for, but you may be interested in this FlashPascal demo:
http://flashpascal.execute.re/CubeMan3D.php
The source code is included in the examples shipped with the compiler.
If you think this is hilarious then I strongly suggest you check game named Sumotori Dreams (http://www.gravitysensation.com/sumotori/) which is implementation of similar algorithm in a Sumo Wrestling game.
oops, i found out a problem, angular velocity should be also relative to parent angular velocity, this doesn't seemed obvious to me... now it works perfectly
Simbicon:
--- 106 ---
37969,48
0,08 0,00
-2,49
34,48
-89,00
12,03
-60,76
-18,80
14,67
box2D:
--- 106 ---
37983,68
0,08 0,00
-2,47
34,48
-88,98
12,01
-60,60
-18,82
14,64
Bookmarks