Skip to content

PhysX Visual Debugger (PVD) Support? #87

Description

@zabijakmensin

Hello,
I was just asking if PVD support has been fully implement yet and if not, when can we expect it to be?

I am guessing it is not implement fully yet, as the official PVD manual says this:

// to transmit data from the physics engine into the PVD
PxPvdSceneClient* pvdClient = mScene->getScenePvdClient();
if(pvdClient)
{
    pvdClient->setScenePvdFlag(PxPvdSceneFlag::eTRANSMIT_CONSTRAINTS, true);
    pvdClient->setScenePvdFlag(PxPvdSceneFlag::eTRANSMIT_CONTACTS, true);
    pvdClient->setScenePvdFlag(PxPvdSceneFlag::eTRANSMIT_SCENEQUERIES, true);
}

but there are no PxPvdSceneClient classes or setScenePvdFlag functions available in PhysX-jni 2.6.0.

From my understanding these flags are required and important (for the PVD to detect scenes, actors, etc.) due to the manual also stating:
In order to save bandwidth the default behavior is that constraints, contacts and scene queries are not transmitted. It is, however, possible to enable the transmission of these data types.

Other than that, I am able to successfully create a PVD connection, it's just that the actual PVD window isn't being fed data so it's just empty.

I think these classes and methods are worth adding (if even possible), as I don't think I am the only one who would like to use the PVD: PxPvdSceneClient, PxPvdSceneFlag, static PxPvdTransport PxDefaultPvdFileTransportCreate(String file), pxScene#getScenePvdClient()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions