Menu

some interfaces expected

Ben
2008-10-06
2013-01-08
  • Ben

    Ben - 2008-10-06

    Hi,

      I have some suggestions and a question as follow:

    1. add a interface like this:
        palCollisionDetection::const PAL_VECTOR<palContactPoint>& GetAllContacts()
      to return the contact list, this can be used to do a event driven.

    2. add the interface to support like the feature of 'dJointFeedBack' in ODE

      The question is why with ODE the palBodyBase of a terrian(plane) is 0,
    and with Novodex there is no contact point of a terrian(plane) though I set notify collision?

    Regards
    Ben

     
    • Ben

      Ben - 2008-10-06

      oh, I'm sorry.

      The question is why with ODE the palBodyBase of a contact point of a terrian(plane) is 0
      and with Novodex there is no contact point of a terrian(plane) though I set notify collision?

       
    • Adrian Boeing

      Adrian Boeing - 2008-10-07

      Thanks for the suggestions, I will add the GetAllContacts at a later stage.

      I will have to look into the 'dJointFeedBack' possibilities, as I'm not sure that all the engines PAL supports would support that information natively.

      The palTerrain has not been fully superseeded by palStatic yet, so that is why some implementations will have null for the palBodyBase. This should go away over time.

      Novodex should notify you of a collision on the terrain, however it will only notify you when it occurs. If the body has gone to sleep the contact point will no longer be generated. Some physics engines won't report resting contacts at all, it is possible Novodex will also do that in some situations.

       

Log in to post a comment.

MongoDB Logo MongoDB