jPCT-AE - a 3d engine for Android > Support

Problem with object picking and modified camera backbuffer matrix

<< < (4/5) > >>

EgonOlsen:
That won't work, because Camera accesses the position directly and not via some getter. Are you sure that the position is in 12, 13, 14 and not in 3, 7, 11.... why else should it be the origin in the second case?

Vi_O:
I have check my code, and after adjusting some tranformation matrices, it works ! Thanks !

One problem still remains : I don't know why, it doesn't pick planes... Is there a special settings to apply in order to pick planes ?

EgonOlsen:
No. A plane is an object just like any other. Make sure that you have the collision modes set correctly and that you are not trying to pick the backside of a plane with culling disabled, because you can't pick backsides even if they are visible.

Vi_O:
That was a backside picking problem, I have flipped the plan and now it works !

Thanks a lot !

EgonOlsen:
Can you post your final solution to this problem? It seems to be a common problem and i haven't seen a solution that anybody was able to use so far.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version