ECToo / physxdotnet

Automatically exported from code.google.com/p/physxdotnet
0 stars 0 forks source link

Null Exception #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. running samples (lesson 101)
2.
3.

What is the expected output? What do you see instead

What version of the product are you using? On what operating system?
latest SVN , XNA GS 2.0

Please provide any additional information below.

i'm getting a NullReferenceException 
at this line scene = CreateScene(description) in the following 

public PhysXScene()
        {
            NxaSceneDescription description = new NxaSceneDescription();
            description.SimulationType = NxaSimulationType.Software;
            description.Gravity = new Vector3(0, -9.81f, 0);
            description.EnableRemoteDebugger = true;

            scene = engine.CreateScene(description);
        }
how is your environment set up, do i need to install the Physx SDK?

please see attached screen shot

Original issue reported on code.google.com by k...@globalnet.co.uk on 28 Jan 2008 at 11:34

Attachments:

GoogleCodeExporter commented 9 years ago
I don't believe there's anything in the samples that should require the SDK to 
be 
installed, but what will be required is the PhysX System Software (aka Drivers) 
from 
Ageia.com, can you confirm you have the most up-to-date verison of these? 
(7.11.13).

Original comment by ami...@gmail.com on 28 Jan 2008 at 11:45

GoogleCodeExporter commented 9 years ago
you are very right, i had an earlier version of the system software, but does 
this
mean there is no back ward compatibility with previous versions, I ask because
I was wondering how to sync your new releases with ageia's

Original comment by k...@globalnet.co.uk on 28 Jan 2008 at 11:59

GoogleCodeExporter commented 9 years ago
Ageia's current drivers support any application built with version 2.7.3 of the 
SDK 
and any SDK older than that.

To run applications/wrappers built using the 2.7.3 SDK you need the very newest 
System Software, there's no way around this without using an older version of 
the 
SDK. For example, were the application built using the 2.6.0 SDK, the System 
Software from 12 months ago would probably be fine, but it would also have 
numerous 
bugs and performance issues that have since been fixed.

I suspect I will update to the newest SDK every time a new one is made 
available, 
meaning if you're using a version of the wrapper built against (presumably) the 
upcoming 2.7.4 SDK, you'll probably need to update the System Software again. 
I'll 
make clear somewhere on the website when an SDK upgrade has occured and if 
there is 
a corresponding System Software update.

Does this answer your question?

Original comment by ami...@gmail.com on 29 Jan 2008 at 12:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes, thats fine, i 'll just watch out for when new updates become available

Original comment by k...@globalnet.co.uk on 29 Jan 2008 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by ami...@gmail.com on 29 Jan 2008 at 12:19