6

I got the sample min3d library code and sample from google.com.

It is working perfect and even working with the changed image.

Now I want to rotate the .obj file with touch event like rotating the car on finger touch. As it is using the animation object in gl.rotation method which is little difficult to understand. I have no idea about it how to do so please provide me solution..

denis_lor
  • 6,212
  • 4
  • 31
  • 55
user1381420RKS
  • 149
  • 1
  • 8

1 Answers1

0

You can add touch events as following

public boolean onTouchEvent(MotionEvent e) {
  //Your code goes here
  return true;
}

If you are not sure about how to rotate on touch events you can follow this link https://code.google.com/p/min3d/issues/detail?id=70