[Bf-committers] New KX_GameObject::rayCastTo() method

erwin at erwincoumans.com erwin at erwincoumans.com
Sun Mar 16 07:14:34 CET 2008


Nice, thanks for the update and the .blend file. 

I'll check it out, just updated my private/manual MSVC 2008 projectfiles to 
build the trunk.
Thanks,
Erwin 


Benoit Bolsee writes: 

> I've added a new feature to the BGE that I wanted to do for a long time:
> the possibility of doing on demand ray casting in scripts.
> Look at the commit log for details:
> http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-
> blender&revision=14121
> I've created a sample blend file that demonstrate the use of this
> feature: http://home.scarlet.be/~tsi46445/blender/raycastto.blend
> It will be mostly usefull in games where questions like "can object A
> directly see object B?" are important to implement AI. It performs the
> same function than a ray sensor but with more flexibility (can cast in
> any direction) and with less CPU (runs when needed) 
> 
> ben 
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
 



More information about the Bf-committers mailing list