As the direction you vector you can use the vector from your camera
position to the object. You simply subtract one position from the other:
yourobject.kine.global.pos MINUS camera.kine.global.pos (and plug the
result into the raycast)


On Tue, Jun 18, 2013 at 5:26 PM, Jimmy Marrero <jimmymarr...@gmail.com>wrote:

> Hey guys
> I am using the footprint deformation in ICE and was wondering if there is
> a way to align the Raycast to match the direction of my camera. I am
> testing it currently on a sphere, I want to be able to rotate around the
> sphere and have the deformation appear consistent around the object instead
> of the current way of just deforming on a particular axis.
>
> Any help appreciated.
> Thanks
>
>
> Jimmy
>
>

Reply via email to