Inhereit ISceneNode

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
didius
Posts: 2
Joined: Fri Jun 02, 2006 3:33 am

Inhereit ISceneNode

Post by didius »

Im trying to make a class that builds off the ISceneNode class, but i keep getting an error saying that im attempting to write to protected memory, when calling the base constructer. Is this because the .net code is only a wrapper? If so, is their a way around this?

Thanks
HantaCore
Posts: 21
Joined: Wed Mar 22, 2006 4:38 pm

Post by HantaCore »

The way the wrapper is implemented makes it currently impossible to construct/inherit scene nodes

you also cannot directly 'construct' a node in a way like
'node = new SceneNode()'

this won't work

this is because the wrapping class does not directly construct the instance of the node, but gets the instance from the scenemanager i think...
Currently working on a C# MMORPG using Irrlicht.NET
didius
Posts: 2
Joined: Fri Jun 02, 2006 3:33 am

Post by didius »

Thats kinda what i figured. So if thats true, basicly in order to create custom scene nodes you would have to make a seperate scene manager for .Net scenenodes. That would basicly take the place of the manager. Well thats a bummer.

Dave.
Locked