Posted By: Rei_Ayanami
Deleting PhysX Objects - 08/17/12 12:30
Hey,
I cannot delete PhysX objects. If I have a function that creates
an object with Raycasting wheels, and shortly after delete it, the
graphical representation is gone, but in the PhysX Debugger
everything stays and other objects still react on it.
If I call the function again, odd things happen. As if the same
memory part is used again. If I manually overwrite the before
deleted memory with zeros, at least this works.
Also, calling pXcon_remove on a PH_WHEEL makes the function crash.
Any ideas? Please?
I am seriously wondering if anybody really used PhysX in GS, when I see those problems...
I cannot delete PhysX objects. If I have a function that creates
an object with Raycasting wheels, and shortly after delete it, the
graphical representation is gone, but in the PhysX Debugger
everything stays and other objects still react on it.
If I call the function again, odd things happen. As if the same
memory part is used again. If I manually overwrite the before
deleted memory with zeros, at least this works.
Also, calling pXcon_remove on a PH_WHEEL makes the function crash.
Any ideas? Please?
I am seriously wondering if anybody really used PhysX in GS, when I see those problems...