How the New Psyhic Engine Works?

Is anyone knows how this new psyhic engine works? Because
this init() command does nothing no matter if add gravity or
simulate() command, i tried to make it work in the same way as
Havok did, but nothing happens, no errors, nothing. Any
suggestion?

Maybe im still missed something, because i already use
simulate() on exitFrame. I think im thinkin' in the way of Havok,
but heres the simple code where "engine" is the physics and
"crateroom" is the 3D world with some boxes, and with some balls in
the air. With Havok the balls falls down, but with Physics they are
still in the air, and the world.isInitialized returns 0,that means
the world initialization is not succeeds...
property pInitialized
on beginsprite me
initializePhysics()
end
on exitframe me
member("engine").simulate()
end me
on endSprite( me )
if (pInitialized) then
member("engine").destroy()
pInitialized = false
member("crateroom").resetWorld()
end if
end
on initializePhysics
if (pInitialized) then
member("engine").destroy()
end if
pInitialized = true
member("engine").init("crateroom",vector(1.0,1.0,1.0),#automatic,0,5)
member("engine").gravity = vector(0,-9.81,0)
put "Initialized Physics"
end initializePhysics

Similar Messages

  • How do I get the new iPod to work with iTunes

    I recently purchased a new iPod--I think it's the "Shuffle," whichever one retails for $150. When I plugged it into my iMac, it said I needed to install iTunes 10 to run it. When I checked for updates, it said that iTunes 9.xyz (whatever came after the 9) was the latest version.
    How do I get this new iPod to work. As you can tell, I am not much of a gadget junkie, and I'm a bit of a technology incompetent, which is why I purchased the Mac to begin with. I have an iMac, have no idea what operating system I am using--whatever came with it when I purchased it in November, 2008.
    TIA!

    Okay, I just looked and I do have 10.411. How do I upgrade to get the new iPod to work, and how much does the new operating system cost?

  • Spell Check in New Forums- How The Heck does it work?

    Can somebody please tell me how the spell check works in this new forum format? I click on the abc icon and it does nothing. I do a two finger click on a word that is misspelled and it give me Insert Options. I really like the new format but hate the spell check. Can anyone offer advise? Thanks.

    The built-in ASC spell checker is -- to put it kindly -- quirky. First, you must turn it on using the 'abc' tool on the right in the editor toolbar. (When it's on, it highlights.) But it won't stay turned on if you click on the tool before you enter any text -- it will just tell you that no misspellings were found & won't stay on. It also sometimes fails to check the last word if followed by a space. You can tell it to ignore misspellings, but you can't tell it to learn words because the spell-checking dictionary is actually on the servers running the site, not on your Mac or PC.
    But from your remarks, you probably aren't even using the built-in checker. Instead, I suspect you are trying to use the far superior system-wide one built into OS X. The problem with that is the ASC editing tools are powered by Javascript supplied by the Jive SBS software running the site. Because that is platform independent it doesn't know anything about OS X's contextual menu (which includes suggestions for misspellings, the Dictionary lookup, & so on).
    So to make a long story short, what happens when you try to right click on a word the OS X checker has underlined in red, instead you get the Javascript's response to a right click, which brings up the editor's insert/alignment popup menu instead of the OS X contextual menu.
    The solution is to control click on the word -- believe it or not, within the ASC editor window a right click & a control click are not the same thing! You literally have to hold down the control key on the keyboard when you click to bypass the Javascript's right click response.
    To make things that much more confusing, this only applies if the pointer is not over empty space in the editor window, which in this case excludes lines that have any text on them, including invisible text like spaces or returns. (To see what I mean, drag the tab at the bottom right of the editor window down so there is a lot of empty space below what you have typed. In this empty area, right & control clicks both bring up the OS X contextual menu, but anywhere in the text you have typed, they behave differently.)
    In short, the problem is not that Apple has changed how the buttons or clicks work, it is that the new software that runs the site (not developed by Apple) does.
    Hope this helps.

  • Print from ipad if i connect a usb connector to my ipad can i connect my printer to it and print??as im thinking of buying the new ipad for work but i must be able toprint

    hi can any one help i want to get the new ipad for work but i need to print.i see i can buy a usb connector can i print if i plug my printer into the usb.

    If you have a USB printer connected to your computer, Mac or PC, you can activate or install AirPrint and print from your iPad over wifi without any special apps.
    Activate AirPrint in Mac OS X;
    http://netputing.com/airprintactivator/
    Add AirPrint to Windows;
    http://jaxov.com/2010/11/how-to-enable-airprint-service-on-windows/

  • Is anyone having problems with trail sites are not allowing updates under the new rendering engine.

    My Trial sites are NOT saving edits made in multiple areas.
    Examples
    Products - Anything I try to do in the product description window says it has updated but then reverts back to what it was originally.
    Web pages - Same for anything in the page updates in the page content window.
    Product Attributes wont update.
    It appears I can add new things, but no edits work.
    All say they are saved then revert back on screen to previous version.
    It is only happening on my trial sites, which has been upgraded to the new liquid engine as far as I can tell as my live sites are fine. (or not converted yet)
    I can do some updates via dreamweaver and FTP.
    Thanks
    Melissa

    Thanks
    I have contacted support and it appears to be only an issue with IE as works in Firefox.
    They are saying it is an issue with my PC / Browser as they cannot recreate it - 
    I have reset all IE back to standard settings.
    My question is if it were only an issue with my browser, why does it work on the live sites and the sites not yet transitioned.

  • How the Sun Java Forums Work (Briefly)

    I am wondering if anyone could give me a brief overview of how the Java sun forums work -- esp. when someone creates a new thread.
    How exactly does the JSP know to link to that thread? Is it generating a unique ID from the database or using it's own custom code? How does it point to that thread? (I'm SO FRUSTRATED. I've tried to figure this one out for about a MONTH.)
    I've started to create a help desk, where it takes form data and posts it to the database. (That issue solved.) The database assigns it a unique ID -- primary key. I'm having trouble displaying the problem record for that ticket ID. (I'm new to Java and really been pulling my hair over this one for about a month.)
    Let me go into some more detail:
    I have these form objects:
    - Name
    - Technical Summary
    - Severity
    - Problem
    This is a standard html form page. The standard html page posts to a JSP page, where the JSP page uses a prepared statement to insert the form data into the database. The query page, (query.jsp) has a table, which only shows TicketID, Name, Technical Summary, and Severity. Obviously, the TicketID is an int and generated by the DB, as 1, 2, 3, 4, and so on...
    So if someone created an issue it'd be assigned a unique ticket id. Note that from the query page, it DOES not show the problem. I WANT there to be a link to get the problem record in that row.
    If anyone could help me out with this one, that would be great.

    Below is the CORE JSP Query Code. Obviously, I did NOT post the HTML b/c that would look **REALLY** weird. Any help on resolving my problem, would relly be helpful! Please hep! :)
    <%@ page import="java.sql.*"%>
    <%
    String first_name = user.getFirstName();
    String last_name = user.getLastName();
    %>
    <%
    String userid = user.getUserId();
    %>
    <%
    Connection conn = null;
    Statement stmt = null;
    ResultSet rs = null;
    try {
    Class.forName ("com.mysql.jdbc.Driver");
    conn = DriverManager.getConnection( "jdbc:mysql://localhost:3306/helpdesk", "root", "password" );
    stmt = conn.createStatement ();
    rs = stmt.executeQuery ("SELECT * FROM history WHERE userid = '"+userid+"' ");
    %>
    <% while( rs.next() ){%>
    <%
    int ticketid = rs.getInt("ticketid");
    String technical_subject = rs.getString("technical_subject");
    session.setAttribute("technical_subject", technical_subject);
    %>
    <TR>
    <TD width="76" align="center">
                   <font face="Arial" style="font-size: 8pt"> <%out.println(ticketid);%> </font></TD>
                   <TD align="center" width="131">
                   <font face="Arial" style="font-size: 8pt"> <%=rs.getString("severity")%> </font></TD>
                   <TD align="center">
                   <font face="Arial" style="font-size: 8pt"> <%=rs.getString("issue_type")%> </font></TD>
                   <TD align="center">
                   <font face="Arial" style="font-size: 8pt"> <%out.println(technical_subject);%> </font></TD>
                   <TD align="center">
                   <font face="Arial" style="font-size: 8pt; font-weight: 700">View
                   Complete Issue</font></TD>
    </TR>
    <%}%>
    </TABLE>
    </BODY>
    </HTML>
    <%
    }catch
         (Exception e){
    out.println("There was an exception. Stack trace will be printed to the error log.");
    e.printStackTrace();
    System.out.println ("A fatal exception occured when fetching the database results. See the stack trace error for more information. Verify you are requesteting the correct data type");
    }finally{
    //this is important. You should close all three to free up resources. Always. In a finally block.
    rs.close();
    stmt.close();
    conn.close();
    %>

  • Integrating the new text engine with other Adobe products?

    Hello,
    Is there any plan to integrate the new text engine with other
    adobe products that dos not support RTL languages?
    In famous products like AfterEffects or Director, No way to
    type correctly arabic text or (rtl) generally - The only way is
    converting the text to a graphic format in an external program !!
    And there is no Middle East versions for these products.
    So, I wish adobe thinks to take this step in near future.
    Thank you,

    I found this blog post about an unsupported feature in CS4 products for Arabic, Indic and other scripts.
    http://www.thomasphinney.com/tag/indesign/
    Since several Adobe products such as After Effects, Photoshop and Illustrator use the same text engine you might want to try copy-pasting Arabic text from the Photoshop CS4 template provided in this blog post to After Effects CS4 and see if it works.  AFAIK Director uses a different text engine from PS, AI and AE.
    http://www.thomasphinney.com/wp-content/uploads/2009/01/world-ready-photoshop.psd
    Good luck!
    Joe

  • How dose new 3D Extrusion works???

    I download the photoshop CC but the 3D option wasn't there but I found it on select in the menu bar, how dose new 3D Extrusion works???

    I don't have it... this is the photoshop CC i have...
    As you see I don't have the 3D option in the menu bar... but when you go to select> you will find the 3D option but I don't know why it's off I can't selected it...
    So I want to know how I can active this option??? one thing the photoshop CC which is on the youtube channel look different than mine ;(
    Can you please advice me what to do???

  • Does anyone know how travel meta search engines work? (kayak,mobissimo)

    Does anyone know how travel meta search engines work? like (mobissimo,kayak,TravelJungle.co.uk)

    Thanks for your reply BalusC
    i agree with u.
    the sites like kayak, mobissimo are using spider tool to get data from other sites(airline site, etc..).
    and they are using jquery with php pages. these sites are airline ticket booking sites.
    my questions are:-
    how can they get flight information without any GDS help?
    can a spider program/tool fetch the realtime data?
    i had experience in implementation of client side web services for GDS(worldspan,amadeus).
    but i am not have any experience with travel meta search engine applications..
    thats way a need help from seniors...

  • I have loaded Lion on my MacBook and the new trackpad functions work only on one ordinary account or user and not on the admin account. The trackpad preferences are well set. What can I do?

    I have loaded Lion on my MacBook and the new trackpad functions work only on one ordinary account or user and not on the admin account. The trackpad preferences are well set. What can I do?

    iCloud should still help you reduce some hard drive space. Just select "optimize" in the icloud tab in Mac Photo App preferences.
    Granted, not the same as completely offloading your library to a back-up drive at your location.
    Good Luck!

  • How the Drill down functionality works if the source is Bex Query

    Dear All,
    How the Drill down functionality works if the source is Bex Query through the query browser in Dashboard 4.1
    Please let me know process.
    Thanks
    Regards,
    Sai

    Hi sai,
    Drill down can be done by two ways.
    1. you need to bring all the data in one shot to the spreadsheet and then by using the components you can achieve it. Below given link explains in detailed about that.
    Filtering Through Combo Box
    2. you can use different set of query to pass the value from one set to another to fetch the data using the prompt. please check the below which explain them.
    Difference between "When value Becomes & When value Changes"
    Revert any clarification required on this.
    --SumanT

  • Does the new AIM Triton work with Ichat?

    Hi,
    Does anyone know if the new AIM Triton works with Ichat AV? I know the Beta version was not working but don't know about the new triton release.
    Also, has anyone tried video/audio communication between Trillian and Ichat? Does it work? Is it better than AIM?
    Thanks,
    Stefano

    I have been working with the Triton on a PC and after much research (frustration), I have found this stated on the AIM support site:
    http://www.aim.com/helpfaq/startingout/getstarted.adp?aolp=#six
    Q: Is AIM Triton compatible with AIM 5.9, AOL 9.0 and iChat?
    A: : AIM Triton works seamlessly with AIM 5.9, AOL 9.0 and iChat. You can send and receive instant messages with your buddies using any of these clients. Certain features may not work across all clients at this time. Voice Chat with more than two people only works with other Triton users. Video Chat will work only between two Triton users at this time.
    So after reading around, I believe the 5.9 will video to the iChat 3's but I haven't had the time to try. Other posts suggest this to be true. Including many by Ralph.

  • How the stock determination process works

    Hi All
    Can any one tell me how the stock determination process works in inventory management?
    if possible give me the steps involved in stock determination process .
    Regards
    M S K

    Hi
    i hope this helps
    http://help.sap.com/saphelp_47x200/helpdata/en/d8/2f3746996611d1b5480000e82de955/frameset.htm
    regards
    maniraj

  • Does the New Imac 21 works as an external display using thunderbolt to thunderbolt cable plugged into a MacBook Pro?

    Does the New Imac 21" works as an external display using thunderbolt to thunderbolt cable plugged into a MacBook Pro?

    Hi there LDIMERY,
    You may find the troubleshooting steps in the article below helpful.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    -Griff W. 

  • How the below query is working

    Hi,
    I am newly joined in the group.
    the emp table has 5 rows as below
    100     ram     10000.00     10
    200     kumar     15000.00     10
    300     william     20000.00     10
    400     ravi     25000.00     10
    500     victor     30000.00     10
    i execute the below query
    select ename,sal from emp_test where case when sal < 10000 then sal + 1000
    when sal < 20000 then sal + 2000
    else sal
    end < 20000
    it gives the below output
    ram     10000.00
    kumar     15000.00
    How the above query is working?
    Please explain. thanks in advance

    If you want it to show the changed salary, it has to be in the select line not the where:
    select ename,
           (case when sal < 10000 then sal + 1000
               when sal < 20000 then sal + 2000
               else sal
            end) sal from emp_test
    where  case when sal < 10000 then sal + 1000
               when sal < 20000 then sal + 2000
               else sal
            end < 20000

Maybe you are looking for