strange result of rayTest in pybullet #3680
HiroIshida
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying
rayTest
from pybullet, and having some strange results. It would be really nice if someone points out my mistakes, or takes this as a bug-report if it's a bug. The following python script performs a rayTest against a small_sphere.This script works and shows a reasonable result:
Something strange is when I change the position of the sphere, for example when I change the argument to
result = test_smallsphere([0.0, 0, 0.1])
, no ray-collision is detected, In other words, I got result:This result is strange. I don't change relative geometrical relation between the ray and the small sphere, so it suppose to collide. Just for double check, the above script visualizes the line between

p_start
andp_end
and I confirmed that it actually penetrate the sphere.I use ubuntu 16.04 and the pybullet library is installed via pip(python 3.7.7). When I import pybullet inside python3,
pybullet build time: Jun 19 2020 04:02:40
appears. This version seems newer and I guess the topics discussed in #1947 are probably unrelated.Beta Was this translation helpful? Give feedback.
All reactions