3 Replies - 637 Views - Last Post: 02 March 2011 - 01:39 PM Rate Topic: -----

#1 aaron1178   User is offline

  • Dovakiin, Dragonborn
  • member icon

Reputation: 170
  • View blog
  • Posts: 1,310
  • Joined: 22-October 08

Physics in Php

Posted 01 March 2011 - 03:29 PM

Hello,
I am currently in Science ans learning some more on physics. Is it possible to use physics in Php, Say for example, i have a gun and i fire a bullet, can i use Newton's second law (F = ma) to calculate the force of the bullets impact?

Thanks,

Aaron1178
Is This A Good Question/Topic? 0
  • +

Replies To: Physics in Php

#2 ghillieLEAD   User is offline

  • D.I.C Head

Reputation: 31
  • View blog
  • Posts: 208
  • Joined: 08-March 10

Re: Physics in Php

Posted 01 March 2011 - 08:05 PM

Of course, all you are doing is multiplying two numbers. I haven't ever used PHP but I'm fairly certain it can do that! ;)
Was This Post Helpful? 1
  • +
  • -

#3 chinchang   User is offline

  • Indie Game Developer
  • member icon

Reputation: 192
  • View blog
  • Posts: 727
  • Joined: 22-December 08

Re: Physics in Php

Posted 02 March 2011 - 02:58 AM

View Postaaron1178, on 02 March 2011 - 03:59 AM, said:

Hello,
I am currently in Science ans learning some more on physics. Is it possible to use physics in Php, Say for example, i have a gun and i fire a bullet, can i use Newton's second law (F = ma) to calculate the force of the bullets impact?

Thanks,

Aaron1178



Of course you can...PHP is a programming language. :innocent:

There are even few game engines in PHP.

This post has been edited by chinchang: 02 March 2011 - 02:59 AM

Was This Post Helpful? 1
  • +
  • -

#4 aaron1178   User is offline

  • Dovakiin, Dragonborn
  • member icon

Reputation: 170
  • View blog
  • Posts: 1,310
  • Joined: 22-October 08

Re: Physics in Php

Posted 02 March 2011 - 01:39 PM

Ah yes i know what php is... I've been using it for almost 5 years now, and i know there are game engines, because i've made my own basic one before, but thanks for your input
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1