Currently object.ray_cast() is always calculated in object space. This means that if the object has any translation/rotation/scale the user must manually transform their ray start/end to object space. This patch adds the ability for the user to specify that the coordinates which they parse are in world space. The user can specify this by object.ray_cast(raystart, rayend, world_space=True). The default for world_space is False so that any scripts which do not specify it maintain their current functionality.
Description
Description
Event Timeline
Comment Actions
Hi, thanks for your patch.
We are undergoing a Tracker Curfew where we are automatically closing old patches.
If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.