Page 1 of 1

Object Picking and Transformation

Posted: Thu Jun 14, 2007 2:10 pm
by VinZ
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.

Posted: Sat Jun 16, 2007 9:47 am
by jungle
hello

i like that kind of information too.
so please anyone can explain it.

thnaks in advance

Posted: Tue Jun 19, 2007 3:35 pm
by Irme
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 :)