On 28/08/2013 at 11:45, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi Folks,
I've been on this one for a few days now, but apart from a few topics laying around that touch on the area, I'm not really finding anything concrete.
Where (or with what functions) does one go about identifying what points have been hit from a tool plugin inside the MouseInput()? The best I came up with seems to only work with polys (the GeRayCollider). Am I meant to then test what points are attached to this polygon!?
Where do I need to be looking to be able to write my own point hit/selection code - one with a visible only option? There's TestPoint() and TestPointZ() in BaseView... Am I meant to work the collider's result in with these? Or is this best done with something else like ViewportPixel()??
I don't necessarily need code - I don't mind having a go trying to do that myself - but a bit of clarification on the right direction here would be swell!
Cheers,
WP.