Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (580)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Are there any physics engines available?  (Read 1756 times)
0 Members and 1 Guest are viewing this topic.
Offline K.I.L.E.R

Senior Member




Java games rock!


« Posted 2004-09-24 10:54:04 »

If there aren't can someone at least tell me the minimum knowledge in physics I would need to simulate a missile traveling and striking a target and being intercepted.

I know I need Newton's basic laws and kinetic energy but that's as far as my knowledge goes. It's been years since I've done physics.

BTW: The physics will be applied on a 2d renderer.

I'm making a real world simulation of a missile defense shield. I will do real world simulation of the patriot interceptor missiles then go further from there simulating Arrow and Arrow 2.

Starting off however it will be basic.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline Malohkan

Senior Member




while (true) System.out.println("WOO!!!!");


« Reply #1 - Posted 2004-09-24 13:03:23 »

You'll need a basic understanding of forces and how they work in conjunction with the momentum principle.  If you understand the relationships between position, velocity, and acceleration along with that, you're set to do your project.

You can also try adding rotational momentum.  I've never seen a game that used it, but it's not hard at all to include, it's just really hard to control if you're flying a ship with it or something Smiley

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #2 - Posted 2004-09-24 14:18:08 »

Thanks.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #3 - Posted 2004-09-25 11:32:56 »

You can do this with Odejava.  I am making a tank game with ballistics with collision detection like you describe.  I am simulating almost my whole game in Odejava - but you can use it for just some physics calculations if you wish.

When you say missile - it is important to determine if it is rocket propelled.  If so can't simply treat it as a ballistic missle - you will need to add forces to alter its direction (i.e. simulating the rocket as well).

Will.

Offline Tzan

Junior Member





« Reply #4 - Posted 2004-09-25 15:47:32 »

In the early '80s I met two game programmers. They did game work in their spare time. Their day job was working at Raytheon doing missle simulation software programming for the Patriot missle system Smiley

I havent seen them in 20 years so I dont think they can help Smiley
Offline Vikstar

Senior Newbie





« Reply #5 - Posted 2004-10-07 06:54:11 »

I've found an impressive missile simulator:
http://www.tripletsandus.com/80s/80s_games/missilecommand.htm (needs shockwave)

Perhaps this is the simulator your friends worked on back in the 80's  Cheesy

But seriously, if your going to simulate something like ICBMs then you will also need values for earth's gravity as well as the atmospheric pressure at different heights. Your atmospheric pressure will be needed for aerodynamics of your missiles, also don't forget to include supersonic/hypersonic flow.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (50 views)
2014-04-15 18:08:23

BurntPizza (46 views)
2014-04-15 03:46:01

UprightPath (62 views)
2014-04-14 17:39:50

UprightPath (44 views)
2014-04-14 17:35:47

Porlus (61 views)
2014-04-14 15:48:38

tom_mai78101 (85 views)
2014-04-10 04:04:31

BurntPizza (143 views)
2014-04-08 23:06:04

tom_mai78101 (242 views)
2014-04-05 13:34:39

trollwarrior1 (201 views)
2014-04-04 12:06:45

CJLetsGame (208 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!