Search found 4 matches

by ben2610
Fri Sep 05, 2008 6:59 am
Forum: Physics authoring tools, serialization, standards and related topics
Topic: rayTest improvements: face normal and broad phase filter
Replies: 5
Views: 58218

Re: rayTest improvements: face normal and broad phase filter

Within the RayResultCallback::addSingleResult callback, the child shape for compound shape is available as rayResult.m_collisionObject->getCollisionShape(). During the rayTest against a btBvhTriangleMeshShape and btCompoundShape, the collision shape has been temporary replaced by the child shape I ...
by ben2610
Thu Aug 28, 2008 12:00 pm
Forum: Physics authoring tools, serialization, standards and related topics
Topic: rayTest improvements: face normal and broad phase filter
Replies: 5
Views: 58218

Re: rayTest improvements: face normal and broad phase filter

(1) -> override RayResultCallback::needsCollision (2) -> Within the RayResultCallback::addSingleResult callback, the child shape for compound shape is available as rayResult.m_collisionObject->getCollisionShape(). During the rayTest against a btBvhTriangleMeshShape and btCompoundShape, the collisio...
by ben2610
Tue Aug 26, 2008 9:42 pm
Forum: Physics authoring tools, serialization, standards and related topics
Topic: rayTest improvements: face normal and broad phase filter
Replies: 5
Views: 58218

rayTest improvements: face normal and broad phase filter

Hi there, I'm one of the maintainer of the Blender game engine, which uses Bullet as you know. I am working on a set of improvements for the rayCast function for which some minor changes are required in Bullet: 1) possibility to filter out collision objects through callback before testing the ray. T...