Yet another Mouse Question. This time I have hit wall so I am looking for inspiration...
What I have is:
A 3D object with Limbs. It is
locked on the screen so when my flyer flies about this always appears as an 'instrument' on my screen.
I also have a small bitmap working as a mouse. It is smooth moving and knows boundaries (code available on codebase). It is
locked on too so it always appears as part of the 3D instrument.
Both being locked on, I can not use
Screen X() and
screen Y() to compare where the pointer is in comparison with the 3D object on the screen.
Idealy it should detect if it is on a limb and change the color of that limb, thus
selecting it.
What i think happens is, the objects are always where I first created them, because I have the
lock on, and when my flyer moves around, although the 'instrument' looks like it is 'there' it is actually back where it was created the 1st place... this makes the
screen x() and
screen y() completely useless...
For this, the code works perfect on a demo without the camera moving, but once I add it into my flyer it looses completely!
Any other ideas? The projectile collision test seems to be an overkill and I haven't tried it yet... but do please suggest anything!!! ideas!
Ideally i would like to find a mathematic formula that projects 3d coords on a 2D environment, 'ignoring' the Z axis for instance... not sure there is one tho, seems to simplistic...
-------------------------------
Pointy birds, Oh pointy pointy
Anoint my head, Anointy 'nointy