irrSimplePhysics v0.002 - Simple Class for SceneNode Physics

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
geckoman
Posts: 143
Joined: Thu Nov 27, 2008 11:05 am
Location: Germany
Contact:

Post by geckoman »

I did not compare the performance but the ease of use here stunned me :)

Physics is just an optical blingbling in my game as it's a sort of 4x game like Master of Orion.
I just wanted to blow up Spaceships or other things with a nice explosion that throws around parts of the actual object, not just particle or standard explosions.
And installing another package for physx is also not very comfortable.

On the other side I liked the optional Hardware-Acc. thats available with it.

Whats your suggestion for me?
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Yeah i would agree that IrrPhysx might be a bit heavy for what you want... Well.. I dunno, it should do the trick I think but if you could use something even simpler like this then that would be easier for you probably!
Image Image Image
Pyritie
Posts: 120
Joined: Fri Jan 16, 2009 12:59 pm
Contact:

Post by Pyritie »

Hive Workshop | deviantART

I've moved to Ogre.
geckoman
Posts: 143
Joined: Thu Nov 27, 2008 11:05 am
Location: Germany
Contact:

Post by geckoman »

JP wrote:Yeah i would agree that IrrPhysx might be a bit heavy for what you want... Well.. I dunno, it should do the trick I think but if you could use something even simpler like this then that would be easier for you probably!
Ok then let's see if there is a project like this one ready when I want to integrate Physics into my Project. :)
fmx

Post by fmx »

so i'm guessing you guys like this the way it is? ;)

I haven't had much time to do anything on the affector though, but its next on my list. Collisions too. Maybe a better framework for true FPS-independance with (unoptimised and ugly) collision-detection.
Should be enough to keep people happy with small projects and demos etc.

For an affector, would it make sense if it only "affected" the scenenode until it became static (no velocity or movement) then destroyed itself? Or would that cause problems if another affector was applied to it afterwards?

"Exploding" scene-nodes really should use the affector system because they will only be "exploding" for a short time before they get hidden or removed, so no point keeping them in physics-memory as objects.
Do you want "collisions" with that?
geckoman
Posts: 143
Joined: Thu Nov 27, 2008 11:05 am
Location: Germany
Contact:

Post by geckoman »

On HOW you do that, I can not say a thing, but for the collisions, that would be nice.
Imagine several spaceships blown up and the parts of it colliding :D
Pyritie
Posts: 120
Joined: Fri Jan 16, 2009 12:59 pm
Contact:

Post by Pyritie »

fmx wrote:I haven't had much time to do anything on the affector though, but its next on my list. Collisions too. Maybe a better framework for true FPS-independance with (unoptimised and ugly) collision-detection.
Should be enough to keep people happy with small projects and demos etc.
Yay collision!
For an affector, would it make sense if it only "affected" the scenenode until it became static (no velocity or movement) then destroyed itself? Or would that cause problems if another affector was applied to it afterwards?
But what if the scenenode started moving again? Having to re-add the affector all the time would be annoying.

Or you could add another boolean for whether the affector should be removed when the node stops moving or not. :3
Hive Workshop | deviantART

I've moved to Ogre.
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

reset?

Post by 3DModelerMan »

What does the reset function do? And why do you have to call updateAbsolutePosition on it?
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

next version?

Post by 3DModelerMan »

When is the next version coming out?
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

FMX wasn't really planning on keeping this project updated so much as just providing some really simple physics ;)
Image Image Image
fmx

Post by fmx »

um, have you been waiting for the next version? :oops:
Like JP has said, I thought this may have been good enough so i wasn't particularly going to continue working on it...

If you can make me a nice long list of things you would like in the next release, then i could work through it whenever I get time.

Or you could try using Newton :wink:
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

fmx wrote: If you can make me a nice long list of things you would like in the next release...
Oh dear FMX.... Why would you go and say a thing like that?? xD
Image Image Image
fmx

Post by fmx »

to prove how futile it is to attempt to simulate a physics-engine when you can use *real* physics engines.
Subtletly is not my thing :lol:

3DModelerMan I've sent you a PM.

irrSimplePhysics will be updated, but I can't promise anything for anyone.
(that is if anyone even uses this... besides Pyritie)
grumpymonkey
Posts: 222
Joined: Mon Jan 19, 2009 10:03 pm
Location: Miami, Florida
Contact:

Post by grumpymonkey »

umm...so the example provided just shows an orange sphere that flies around? I wouldnt really call that physics, especially because the collisions arent even that great. the ball twitches, or vibrates or something when its on the floor
Image
Pyritie
Posts: 120
Joined: Fri Jan 16, 2009 12:59 pm
Contact:

Post by Pyritie »

fmx wrote:irrSimplePhysics will be updated, but I can't promise anything for anyone.
(that is if anyone even uses this... besides Pyritie)
Heh, I've moved to ogre, actually. :P
Hive Workshop | deviantART

I've moved to Ogre.
Post Reply