Vineeth@nxOgre
09-04-2008 10:56:27
I have to convert mouse movement to object movement in 3d.The object is a cloth vertex
I can use
The mouse movemnts xy values should be mapped to 3 D co-ordinates (Pos )for the cloth vertex to be moved
I gor the vertex ID by using ray caster.A ray was casted from camera to clothte return the vertex
I know that the cloth can be attached to a rigid body.ut for testing purpose I want to do it using mouse
Please give me an idea
I can use
cloth->attachVertextoGlobalPosition(vertexId,Pos);
The mouse movemnts xy values should be mapped to 3 D co-ordinates (Pos )for the cloth vertex to be moved
I gor the vertex ID by using ray caster.A ray was casted from camera to clothte return the vertex
I know that the cloth can be attached to a rigid body.ut for testing purpose I want to do it using mouse
Please give me an idea