Blender Git Commit Log
Git Commits -> Revision c1b0239
Revision c1b0239 by Campbell Barton (master) January 2, 2010, 15:31 (GMT) |
RNA Ray casting function for python access, uses BVH acceleration structure (same as shrink wrap), very fast & useful for object placing scripts. Python Example. hit_location, hit_normal, face_index = object.ray_cast(ray_start, ray_end) - first rna func to use multiple return values - currently casts in object space, may want to cast in worldspace too. |
Commit Details:
Full Hash: c1b0239f06a84da5ebe7e2be51d7aa51226c859a
SVN Revision: 25667
Parent Commit: e83940d
Lines Changed: +63, -0
1 Modified Path:
/source/blender/makesrna/intern/rna_object_api.c (+63, -0) (Diff)