Hi,
I'm working with object picking and transformation acording to the touchpoint from the scene. i tried a lot but i dint get solution.
This is my code.
Position2D pos = ev.MousePosition;
SceneNode selectedSceneNode = device.SceneManager.CollisionManager.GetSceneNodeFromScreenCoordinates(pos, 0 , false);
if (selectedSceneNode != null)
{
MessageBox.Show(selectedSceneNode.Name );
}
In the scene i added one cube scene node. Some time i'm getting camera scenen node also.
I'm trring to do some thing like irredit object transformation.
can any one please give some some samples and help to solve my problem.
thanks in advance.
Object Picking and Transformation
I've been looking for some info on this as well. This is what i've found so far.
http://irrlicht.sourceforge.net/phpBB2/ ... hp?p=42907
I think it will work for my project, hopefully you can get it to work for yours to
http://irrlicht.sourceforge.net/phpBB2/ ... hp?p=42907
I think it will work for my project, hopefully you can get it to work for yours to