Good physics engine recommendation needed.

Could anyone of you guys could recommend me some good (small and fast)
physics engine with functionality like 'traerAS3' (Traer.physics).
What I particularly need is object repulsion and problem
with 'treaerAS3' (https://github.com/sqrtof5/traerAS3) is that
it is converted from JAVA and it is not working well under AS30.
I would be grateful for any suggestions.

http://box2dflash.sourceforge.net/

Similar Messages

  • Physics Engine: How to handle object collisions / best practices?

    Right now I'm trying to find out by examining all methods and comparing to other engines like box2D how to get information about colliding objects.
    I thought I could use i.E. the "checkCollideWith" method of the btRigidBody instance, but it always returns true.
    Then, there are several interesting methods in the collisionDispatcher class, but also they don't yield any satisfying results.
    I could set a "nearCallbackFunction", but then, the collision wasn't handeled internally anymore.
    Has anyone found out how to get reliable information about colliding objects?
    Also the Pellet-Engine looks really "ported from C++", not like a typical AS3 project. I could imagine that Adobe would refactor the whole thing at a given time to make it fit more into their AS3 environment. Then, there would also be "real" events for things like that.

    Well I answered it myself. I should have noticed that "Pellet" sounds familiar. Like the physics engine used in Blender3D, "Bullet".
    And when I looked at the wiki, I found out that Pellet was a clone of Bullet so I could easily port these lines of code to AS3:
    // inside onAnimate method of BasicScene
                   var numManifolds:int = _dynamicsWorld.getDispatcher().getNumManifolds();
                   for (i = 0; i < numManifolds; i++) {
                        var contactManifold:btPersistentManifold = _dynamicsWorld.getDispatcher().getManifoldByIndexInternal(i);
                        var obA:btCollisionObject = contactManifold.getBody0();
                        var obB:btCollisionObject = contactManifold.getBody1();
                        var numContacts:int = contactManifold.getNumContacts();
                        var j:int;
                        for (j = 0; j < numContacts; j++) {
                             var pt:btManifoldPoint = contactManifold.getContactPoint(j);
                             if (pt.getDistance() < 0) {
                                  // const btVector3& ptA = pt.getPositionWorldOnA();
                                  // const btVector3& ptB = pt.getPositionWorldOnB();
                                  // const btVector3& normalOnB = pt.m_normalWorldOnB;
                                  trace ("yay, dingdingding! => " + obA + ", " + obB+ " collided!");
    I just used the code described here:
    http://www.bulletphysics.org/mediawiki-1.5.8/index.php/Collision_Callbacks_and_Triggers
    You can get the full documentation here:
    http://www.bulletphysics.org/mediawiki-1.5.8/index.php?title=Documentation
    Probably everything will also work in Pellet this way, you've just port the code to AS3, no need to even change variable or method names, it seems to be all the same in Pellet.

  • Java physics engine

    hi folks,
    1.Is there any good and robust physics engine written in java out there?
    2. I am planning to do some projectile shooting, collision detection, what level of effort would it take if I just use Java3D, what level of tools does java3d API provide me to achieve these? would I be far more efficient and better off using a physics engine?
    thanks

    hi folks,
    1.Is there any good and robust physics engine written
    in java out there?
    2. I am planning to do some projectile shooting,
    collision detection, what level of effort would it
    take if I just use Java3D, what level of tools does
    java3d API provide me to achieve these? would I be
    far more efficient and better off using a physics
    engine?
    thanksthis topic is so much big!
    there are some private companies who
    have developed collision detection software.
    however, you can try to write your own in an efficient
    way by using the literature. however, this will take your
    1 or 2 years.
    especially CAD companies are pretty advanced in this topic.
    hope this helps

  • Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an e.mail i can use in Apple USA? Thanks.

    Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    There is a link at the bottom of this page. http://www.apple.com/contact/

  • When i am editing in finalcut, my image does not look particularly good.  do i need to export it at the end in order to see it in full high definition?  thx

    when i am editing in finalcut, my image does not look particularly good.  do i need to export it at the end in order to see it in full high definition?  thx

    Open FCP X Preferences / Playback / Use Original... Media / Playback Quality...
    How does the exported movie-file looks like...?
    Regards
    Nolan

  • What is a good template engine?

    I want your suggestions on good template engine. My project is almost done and ready to go to production in few weeks, I want something which is easy to learn yet good enough.
    Following are my specific requirements:
    1) We have like 150 jsps (not too many), but I want a template engine which lets me add a header, footer and other links easily to all these pages to start with.
    2) Later on I want a rule based template engine which changes the layout of page based on rules. For example UI for a role based web site, like Admin sees different tabs on the menu bar than a normal user.
    Thanks for your help

    For what you are suggesting, I'd look at tiles.
    If you were wanting to do something more sophisticated and data drive things, then maybe you would look at Freemarker or Velocity. Not much t choose between these.

  • I just replaced my desktop but now i cant edit etc. I signed in but no good. Do I need to enter my License key again and how ?

    i just replaced my desktop but now i cant edit etc. I signed in but no good. Do I need to enter my License key again and how ?

    What product are you trying to use to edit etc.: Acrobat ?  Have you installed it?  Have you activated it?

  • HT2311 My computer says that the file iTunes.cab its not good and that I need that to install the program, what is that?

    My computer says that the file iTunes.cab its not good and that I need that to install the program, what is that?

    I'm having the same problem. For what it's worth, I am running Windows 7 64-bit.

  • Optical digital audio out so good you don't need external audio card?

    IS the optical digital audio out of the MBP so good you don't need an external audio card?
    I was looking into buying the MAUDIO mobilepre to connect my soon to be received MBP to the speakers, but the Apple rep told me the new optical digital connection is good enough that i can bypass an interface card. Is this true?
    For reference I am planning to buy the EDIROL DM20 as monitors to edit audio in FCP 5.
    Thnak you for your feedback
    optimist2
    Imac G5 Mac OS X (10.4.2)
    Imac G5   Mac OS X (10.4.2)  

    I'm an audiophile as well. I wouldn't use the MBP headphone out to drive a serious audio system, so I don't disagree with your use of a good external DAC. But the poster wants to drive speakers that take digital input. So the question is about the digital output, not the DACs. Given the equipment he proposes to attach, I doubt there's any justification for using an external device to generate the digital out.

  • OS X Compatible Physics Engine (Cocoa Game)

    I've been having trouble finding a non-iphone physics engine. Every popular engine seems to be geared towards iOS only. Does anyone have any suggestions?

    http://www.thefreecountry.com/sourcecode/physics.shtml

  • How do you host your external videos for good interactive PDF playback? Recommendation needed.

    I'm trying to find out a good solution for adding externally hosted video content to an interactive PDF.
    I understand that Vimeo/YouTube is out so I'm hoping to host content with a dedicated (payed service) video host.
    Does anyone have a recommendation of a good video host for this purpose or indeed any tips/pitfalls in doing it this way?
    The document needs to be lightweight so I can't embed videos.
    Thanks!

    I use iDefrag.
    http://coriolis-systems.com/iDefrag.php
    The also have a program called iPartition that does non-destructive partitioning very well. Coriolis Systems seems to do an excellent job writing their software in a way that respects OS X. Check out their website for a demo and a list of features.
    I use the online defrag (it's quick and easy) once a week or so, and every three weeks or month I run a full defrag. To do a full defrag you need to either start up from another drive with iDefrag on it (I use my external Firewire drive) or burn a CD using the included utility to start up from.
    I've been very impressed with this software and have found it invaluable for installing BootCamp on some laptops that had fairly full HDs where otherwise Boot Camp would say it couldn't partition.
    iDefrag also optimizes the order of files on the disk and places metadata at the start of the drive for quick access. You can specify or create custom optimization algorithims if you have particular needs that vary from the norm.

  • In need of some good artwork or: We need a logo and colors :)

    Hi people...
    As you may have heard somewhere, we are currently developing a new liveCD based on Arch + KDE4, which will be released around the end of this year (or sooner or later, as our motto is "when its done")...
    Well, developing progresses and we have already reached some important milestones, but now we have a serious problem: We need a logo and a colorscheme for both our "identity" and the website of the project.
    We already have a name for the project, but we are seriously lacking some good artwork skills... To give you an impression of our marvellous skills, here is our current mockup of the logo:
    nice, isnt it?
    Ok, as you have noticed, this isnt even rudimentary cool. And now we are asking YOU to create an awesome logo for us
    We would like to see ideas from you, the beloved Arch community. We dont have any rules regarding the logo etc, and are completely open about this... So maybe some of the more gifted people can take this above approach and create something awesome for us... As all of our tools also have rather esoteric names (shaman, tribe, more to come ...), maybe the wikipedia entry for chakra could be helpful for inspiration...
    If you have any ideas, designs, schemes, whatever, dont hesitate to show us them... If there are some submissions, we will choose the one we like the most, and the creator will of course be mentioned on our website as our "creative director" (CEO is already taken by boom1992, sorry ), together with some of our very descriptive Roles (you can choose them!)
    We are looking forward to any submissions, and thanks very much in advance
    Jan
    EDIT: I think i missed something in this post, so i write it now: The colors and the font in the mockup are only there to visualize why we have chosen chakra as the name. Of course you are free to do anything! Just do crazy stuff, let your creativity flow, everything is allowed
    Last edited by funkyou (2008-06-16 18:02:35)

    arch0r wrote:
    i think it should be much more visible, that "chakra" consists of the K for kde and the letters for "arch"
    "A chakra is a center of activity that receives, assimilates, and expresses life force energy. The word chakra literally translates as wheel or disk and refers to a spinning sphere of bioenergetic activity emanating from the major nerve ganglia branching forward from the spinal column. There are six of these wheels stacked in a column of energy that spans from the base of the spine to the middle of the forehead. And the seventh which is beyond the physical region. It is the six major chakras that correlate with basic states of consciousness..."
    by the way, arch live project with kdemod4 sounds kinda nice (hope it doesn't have a gui installer )!
    Oh yeah, I forgot about that meaning for chakra.....

  • Replace HD -where and who? Recommendations needed

    Well, since my earlier post, installed Tiger in hopes of fixing problem but looks like HD is dead. Got tiger installed, transferred files/apps/settings from backup HD and started updating software.
    Now HD making all sounds of scratching and squeaky noises and won't boot.
    So, anyone recommend third party to replace HD. Don't need anything fancy, 60 gb 5400 rpm or 7200 rpm will do. And estimated cost?

    You didn't say where you are located. If in the US, use this link: http://www.apple.com/buy/locator/service/ Outside the US the country Apple sites have a similiar link. This will tell you where Apple and Apple authorized service providers are near you. Note if you go to an Apple store, they will keep your old drive, however, since you have it backed up already, and can still erase it, that shouldn't be a concern.
    You might as well get a slightly larger drive, as 5400rpm 60GB and 80GB, depending on brand, are about the same price ($50-$60). 7200rpm version would be around $20 more. If you have a choice, people seem satisfied with Seagate and Hitachi. Avoid Toshiba. Installation of course on top of HD cost. You may not have as many HD choices at an Apple store versus using an Apple authorized service provider.
    It may or may not be cheaper for you to buy the drive and take it to an authorized service provider for installation. Newegg at http://www.newegg.com and OWC at http://www.macsales.com are two good sources. You'd be looking for a 2.5" notebook drive, with a parallel ATA attachment, not serial ATA or SATA (drives are well marked in the descriptions). If you buy it yourself, regardless of who installs it, you'd get the manufacturer warranty, so, for example, Seagate has a 5 year warranty. If Apple sells and installs it, you get whatever Apple warranty provides.

  • Recording Headset Recommendations Needed

    Hi everyone:
    I currently use Captivate to record CBT's, complete with
    recorded audio. I have been using a Plantronics headset (very
    similar to the Plantronics Audio 650 USB Multimedia Stereo Headset)
    and while it has been a great headset, the quality of the
    microphone is slowly fading away.
    In my building, we have a significant amount of "white" noise
    from the air system, causing a "buzzing" sound throughout the
    building. While you cannot directly hear the buzzing, you can
    distinctively hear when you stop a recording and start another
    one-the recordings are not 100% quiet in the background so when
    users play the CBT back, they can hear when the tutorial starts and
    ends due to the background noise.
    Does anyone have a headset they recommend with a good
    background noise silencer that also records the voice in a clear
    manner, avoiding the dreaded "p and b" sounds that sound so abrupt
    in the microphone?
    Thanks!

    To avoid the 'pops' (like on b and p), you definitely want to
    1) ensure
    the microphone has a baffle (the little sponge surrounding
    it) and to
    move the microphone further away from your mouth. That may,
    of course,
    mean you will need to enunciate more clearly.
    I use an old Logitech headset. I don't recall the model but
    it works
    well. I do have to run a couple short tests first to get the
    mic setup a
    proper distance and angle from my mouth (I usually have it
    angled down
    by my chin).
    Most often, we just have a professional narrator do the
    voiceovers then
    integrate them separately, ensuring quality.
    For your ambient room noise, not much you can do about that
    regardless
    of the mic. In fact, the higher-quality a mic, the more of
    that noise it
    may pick up!
    So, best case, you find a room where you can shut off the air
    ducts, or
    one that doesn't have any air ducts.
    But another interesting approach I think I saw mentioned here
    was
    someone who constructed a box insulated with packing foam
    that they put
    over their head! Sounds funny but with a large enough box,
    perhaps
    fitting over the monitor and yourself, you could probably
    cancel out a
    lot of the ambient noise.
    Be sure to post a picture if you do that! ;-)
    Erik
    tnewland82 wrote:
    > In my building, we have a significant amount of "white"
    noise from the air
    > system, causing a "buzzing" sound throughout the
    building.
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - eLearning
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    Authorware Tips!

  • Java Book - Recommendations Needed.

    Recommendations for a good BEGINNERS book please.

    If you're completely new to programming then I'd suggest checking out some of the older books on first principles that they'll have available in your college library.
    This kind of foundation will massively reduce the learning curve for any language.
    Then hit the 2nd hand bookstores and find an earlier edition of one of the books mentioned above. All the marketing crap claiming that a new edition is completely updated is irrelevant to your needs. The core language has changed very little in about 6 years, (since the abortion that was the 1.0 event model was justifiably taken out behind the chemical sheds and shot), so anything 1.1 and onwards will suffice as long as you can get access to the errata pages on the web.
    Of course, the best approach is simply to use the free resources on this and other sites because the programming manuals aren't overly useful to students entering the field for the first time. I say this because you'll probably be looking at two types of task:
    1) Practical programming (probably so simplistic that you'll be able to solve with reference to the API docs)
    2) Theoretical stuff (Better to look to academic books, trade journals, etc.)
    Try:
    www.theserverside.com
    www.javaranch.com
    www.javaworld.com
    www.oreilly.com
    if you want to be overwhelmed with information...

Maybe you are looking for

  • "lost" album will not open in iPhoto

    A couple weeks ago I opened iPhoto and received the message that my photo album could not be found. I created a new album so that I could upload my photos and then located my original album in the Pictures folder. I had not moved it or renamed it. I

  • Exchange 2013 Autodiscover Android IOS not working

    Hello, I configured exchange 2013 in my organization. Android, thunderbird and IOS not working with autodiscover. Windows Phone example Lumia worked with autodiscover correctly. All needed DNS entry and certificate are uploaded to Exchange. Test on h

  • Files in folder

    hey..I'm new in programming and I want to know how can I get a list of files from a folder and put it in a comboBox and then select the file that I want...Thank you very much

  • MI CLient installation on Palm Treo

    Hi All, Does any one knows  how to install MIClient SP15 or above on PAlm Treo. Thanks in advance Regards Devendra Phate

  • Which USB external MODEM will work with the latest MAC MINI?

    Can anyone recommend an external USB modem (other than Apple's) that will work with the latest MAC MINI? Thanks! Captain