fabric-engine/JSSceneGraph — Issue #46: Bullet Raycast parameters
Author: phtaylor
Created: 2011-10-31 01:21:06+00:00
State: open

in some cases, we need to be able to define the ray start and end positions.

We the generation of a far away 'to' point can be done in KL if needed (e.g. for raycasting from the mouse).

Also, in some cases, we need to raycast passive objects, but this is currently filtered out. We need this to be an option.

The function could then be...

```
world.raycast(from, to, filterPassiveObjects);
```