okaaay.. I use lrrlicht on sharpdevelop and like I have two problems with mah program.
1. how do I get rid of the default control the camera with arrowkeys in my modified "Hello World" tutorial proram?
2. has the collision bug been fixed yet? i am being very patient on this issue. I use sharp develop with visualbasic.net and I was wondering if there is alternative ways or a work around of it.
Irrlicht.NET questions..
Hi !
1) Easy... you need a interface for the keys and in the "OnEvent" function you have to insert a "return true" ... i don't know how it works in c#
2) I fixed the bug in the engine and reported it via mail yesterday. Niko already replied so i think the bug will be fixed in the next version.
If you want to fix the problem yourself just replace this
[PARAMFLAG::Out] Core::Vector3D outCollisionPoint,
[PARAMFLAG::Out] Core::Triangle3D outTriangle)
with this
[PARAMFLAG::Out] Core::Vector3D& outCollisionPoint,
[PARAMFLAG::Out] Core::Triangle3D& outTriangle)
Thorben
1) Easy... you need a interface for the keys and in the "OnEvent" function you have to insert a "return true" ... i don't know how it works in c#
2) I fixed the bug in the engine and reported it via mail yesterday. Niko already replied so i think the bug will be fixed in the next version.
If you want to fix the problem yourself just replace this
[PARAMFLAG::Out] Core::Vector3D outCollisionPoint,
[PARAMFLAG::Out] Core::Triangle3D outTriangle)
with this
[PARAMFLAG::Out] Core::Vector3D& outCollisionPoint,
[PARAMFLAG::Out] Core::Triangle3D& outTriangle)
Thorben
That fix is for ISceneCollisionManager.h. This is only relevant if you are using GetCollisionPoint for collision detection. Otherwise you will need to clarify what the collision bug is you are talking about.
The proper way to have a camera without arrow key control is to use AddCameraSceneNode instead of AddCameraSceneNodeFPS when creating the camera.
The proper way to have a camera without arrow key control is to use AddCameraSceneNode instead of AddCameraSceneNodeFPS when creating the camera.