Object Picking and Transformation

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
VinZ
Posts: 21
Joined: Sat Jul 29, 2006 11:16 am
Location: India

Object Picking and Transformation

Post 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.
jungle
Posts: 5
Joined: Thu May 17, 2007 4:52 pm
Location: Germany

Post by jungle »

hello

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

thnaks in advance
Irme
Posts: 55
Joined: Sat Jul 16, 2005 8:24 am

Post 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 :)
Locked