Deleting derived userdata

scanmaster_k

09-02-2008 11:00:41

Hi, I need some help, I have a base class that I set as userdata to my bodies, the dTor of that baseclass is virtual, deleting a base class with a virtual dTor causes an wiriting to memory error, any clues how I can keep a inherit change and still be able to delete the user data.


Thanks
Scanmaster_K