diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2005-08-06 02:10:27 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2005-08-06 02:10:27 +0400 |
commit | 66dc186fb6f6fd4d95b429fba6d31c764000bde0 (patch) | |
tree | e7d2514ff8ee466ca2b270cfb336567ab164c7e7 /source/gameengine/Ketsji/KX_RaySensor.cpp | |
parent | 1b0cd9340da7ad1496c0a2bc4fe174f3cda7a1d5 (diff) |
fixed sphere shape, added non-uniform scaling (making it an ellipsoid)
removed bug-fixing comments
Diffstat (limited to 'source/gameengine/Ketsji/KX_RaySensor.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_RaySensor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_RaySensor.cpp b/source/gameengine/Ketsji/KX_RaySensor.cpp index 73eb95d606e..b35d9b00540 100644 --- a/source/gameengine/Ketsji/KX_RaySensor.cpp +++ b/source/gameengine/Ketsji/KX_RaySensor.cpp @@ -106,13 +106,12 @@ bool KX_RaySensor::IsPositiveTrigger() bool KX_RaySensor::RayHit(KX_ClientObjectInfo* info, MT_Point3& hit_point, MT_Vector3& hit_normal, void* const data) { - printf("KX_RaySensor::RayHit\n"); KX_GameObject* obj = (KX_GameObject*)GetParent(); SCA_IObject *hitgameobj = info->m_gameobject; if (hitgameobj == obj || info->m_type > KX_ClientObjectInfo::ACTOR) { - printf("false hit\n"); +// printf("false hit\n"); // false hit return false; } |