Samples and Demos
Samples and demos are included the PhysXforQuest setup file.
These are installed in the default folder of \4Front Technologies under your Program Files main application install folder.
Sample and Demo Files
Requirements:
You need the NVIDIA PhysX System Software (or newer) installed to run the executables,
if you don't already have PhysX drivers installed.
-
Taken from original sample, this is an initial look and use of OO with PhysXforQuest.
OO structure and interface etc not necessarily recommended, this just proof of concept that PhysXforQuest works well with Quest3D's OO.
One class is used for the Actor which is updated with the globalPose. This is used to override the position and rotation vectors of the balls mesh class, so physics drives the motion of the objects.
-
Makes use of the Object Factory to create 3 types of simple meshes and drive their motion via their actors class.
This sample uses the OO Factory sample as its base. Its powerful and simple. With a simple override of the mesh Update function for globalPose, all objects in motion are driven by physics.
-
Taken from our general rigid body samples, this pyramid is shot down using a sphere cannonball. The boxes are managed using OO and Factory pattern (an extension of the Factory MultiObjects example above).
This sample includes a class for the cannonball to demonstrate force being applied to a class object. Also, to show how the box pyramid objects initial positioning can be defined. Most objects in this sample are managed via OO classes except for the static ground and the jointed 3Dtext.
|