Closed GoogleCodeExporter closed 8 years ago
Indeed this is a bug. I will dig into this
Original comment by thomas.t...@googlemail.com
on 4 Jul 2012 at 2:07
Ok, I fixed it! The problem was that somehow the last result was cached due to
some optimizations and was only refresehd on mouse-move. but since the
button-pressed seems to be faster recognized than the movement the sensor took
the last result again (which was true).
Since this optimization is not working at all (cause it would fail for moving
objects that would move under the cursor) I removed it completely but added
that mobile device only do the pickray only if the display is touched and not
all the time like on the desktop.
This is the commit:
http://code.google.com/p/gamekit/source/detail?r=1105
About the viewport error. Actually I'm not sure about this anymore. There are
some problems with ogre and the viewport and I had to hack to get it work.
Ignore the error. I hope once we update ogre again this will be also fixed.
Thx, for reporting with the useful sample.
Original comment by thomas.t...@googlemail.com
on 4 Jul 2012 at 5:04
Original issue reported on code.google.com by
matic.o...@gmail.com
on 3 Jul 2012 at 9:45Attachments: