Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Maxon Cinema 4D Ray Collision “face_id” hits not all correct , using C4D python

  • Ray Collision “face_id” hits not all correct , using C4D python

     anam hasan updated 1 month ago 1 Member · 1 Post
  • anam hasan

    May 22, 2022 at 5:02 pm

    Hi there,

    i am trying to hide polygons not visible in a camera path animation. I have the script working to some degree. I am using the ray collider functions and storing the face_id hits in a list, this is producing some weird results. I have checked the path of the rays which seem correct. The rays don’t all seem to be registering a face hit when they definitely should be and some faces are being hit when they shouldn’t be. This is a test file I am working with (see attached) The polygons that are stored in the face_id hit list are then updating the polygon selection tag.

    I have attached the script in a null in a python tag, so please run it from the script manager to test it. I couldn’t seem to attach the python file to this separately.

    Any help would be much appreciated


Viewing 1 of 1 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy