Blender Git Loki
Git Commits -> Revision 435a49d
Revision 435a49d by Benoit Bolsee (master) March 15, 2008, 17:08 (GMT) |
New rayCastTo() python method for KX_GameObject: rayCastTo(other,dist,prop) Look towards another point/KX_GameObject and return first object hit within dist with a property that match prop, None if no object found or if it does not match prop. Parameters: other = 3-tuple (xyz coordinates) or object reference (target=center of object) (type = list [x,y,z] or object reference) dist = max distance of detection (can be negative => look behind) If 0 or omitted => detect up to other (type=float) prop = property name that object must have If empty or omitted => detect any object (type=string) |
Commit Details:
Full Hash: 435a49dfe7c5f6933c7e07cb06154dfcabeaf09e
SVN Revision: 14121
Parent Commit: d0b36bf
Lines Changed: +105, -2