How to find where to cast a ray to avoid collision in Bullet?
问题 Say we have an object at point A. It wants to find out if it can move to point B. It has limited velocity so it can only move step by step. It casts a ray at direction it is moving to. Ray collides with an object and we detect it. How to get a way to pass our ray safely (avoiding collision)? btw, is there a way to make such thing work in case of object cast, will it be as/nearly fast as with simple ray cast? Is there a way to find optimal in some vay path? 回答1: What you're asking about is