Jump to content

Visualize::renderVector() bug?


photo

Recommended Posts

I was playing with Visualize::renderVector() and found this,
not sure this is a bug but I feel it is not right.

I use this function in 2 cases (the first one is commented block)

image.png.db9ce44fff1fcbb001738a23811c0281.png

Case 2 is ok, visualized vector display with exact start/end position

image.png.e361ee436f41f306ff6c31c00e6aa1ae.png

In case 1,  when I replace start/end Vec3 postion by using 2 objects (a moving airPlane model and static material_ball), I got this

image.png.70bc64f428e1c597e55a7937f6cc8bc0.png

image.png.a8325377da7c99edf660e59a58471074.png

 

Link to comment

Yes, it fixed the problem, I did not use Visualizer::setSize() before, that means default size of renderVector is too big?

image.png.30feb474a9a4e8935db1b3ee190eadff.png

Link to comment
  • 1 year later...
On 5/13/2020 at 9:38 AM, tipforeveryone said:

I was playing with Visualize::renderVector() and found this,
not sure this is a bug but I feel it is not right.

I use this function in 2 cases (the first one is commented block)

image.png.db9ce44fff1fcbb001738a23811c0281.png

Case 2 is ok, visualized vector display with exact start/end position

render this 2 points and You`ll get wrong end position!

 

Link to comment
×
×
  • Create New...