Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, degenerate_762, ozgur), 1,311 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
angular momentum[SOLVED] #261407
04/17/09 13:37
04/17/09 13:37
Joined: Mar 2003
Posts: 3,010
analysis paralysis
NITRO777 Offline OP
Expert
NITRO777  Offline OP
Expert

Joined: Mar 2003
Posts: 3,010
analysis paralysis
Anyone know any relatively simple implementations of angular momentum? Basically I have just made the(my.pan) rotation inversely proportional to the linear force, but I was wondering if someone knew a more accurate method derived from the actual physics formulas?

Re: angular momentum [Re: NITRO777] #261881
04/20/09 21:11
04/20/09 21:11
Joined: Mar 2003
Posts: 3,010
analysis paralysis
NITRO777 Offline OP
Expert
NITRO777  Offline OP
Expert

Joined: Mar 2003
Posts: 3,010
analysis paralysis
ok for anyone who happens to perhaps be looking at this subject the answer is very simple. Before calculating drag or anything like that angular velocity can be related to linear velocity in the following way where:

v=linear velocity
r=radius
w=angular velocity

with the formula: v=rw

Therefore in the case of finding a pan value to correlate with your linear force it is simple.

1st determine your linear force, say it is a constant like 10
then find what you need for an angular force, like 5 or some value you determine by experimentation\

Then it is easy to compute r which is radius or which is your pan value:

r=10/5 or 2

Found this in an olde trig book, Im using angular velocity to model the movement of my entities in the game.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1