Weapon Going Inside Walls

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
Philip

Weapon Going Inside Walls

Post by Philip »

In my lame first person shooter my weapon is going inside walls. I searched and found a top about it...

How would I do this in C#?
"Turn of the ztesting for the weapon mesh - and draw it LAST always"
Zitzu
Posts: 28
Joined: Sun Jul 03, 2005 9:18 am

Post by Zitzu »

You should be able to disable the zbuffering for "myNode" node this way

Code: Select all

myNode.SetMaterialFlag(MaterialFlag.ZBUFFER, false);
Dunno if this is enough to draw your weapon as the last mesh... let me know!
Guest

Post by Guest »

Thanks! It worked perfectly!
Locked