How to remove PHYSactor rom PhysX scene7

Kohedlo

22-05-2010 12:48:56

Who is know how do it7

issingle

26-05-2010 09:09:41

Actor actor;
actor.Dispose(); //note:u can't see it in IDE,but it can be call and do work indeed.

Kohedlo

26-05-2010 20:46:21

Compiler give this-> Error 1 'Mogre.PhysX.giNxRegisteredObject<Mogre::PhysX::Scene>.Dispose(bool)' is inaccessible due to its protection level .cs 245 25

i dont know how to use dispose with protection leavel(( :?:

issingle

28-05-2010 15:25:49

what's your physx wrapper?
if it's eyecm.physx,
actor.Dispose();//no params,
in my case,it's work.
my solution:vs2008+.net2.0 sp1+mogre1.6.5.

Kohedlo

29-05-2010 20:52:23

Sorry. I write method with parametr true. Without parameter works finely. Great.