question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Points returning [ 0, 0, 0, 0]

See original GitHub issue

Hi,

I was testing the script and I got the problem, that no matter where I would select the image to crop the get function would return the correct zoom, but the points would return only an array with zeros.

I tested on chrome, firefox both jQuery plugin and Vanilla.

Got it from the npm.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
esganzerlacommented, Sep 13, 2016

Ohhh, I just realized what is happening.

Seems that I was closing the modal window before collecting these informations…

Thanks for you help @thedustinsmith !

0reactions
Dacesiliancommented, Jan 15, 2019

I was getting this on form submit and I didn’t realize, that I hide all first and then get zero coordinations… So get info first and do not hide canvas before 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

SphereCastAll returns (0,0,0) for all RaycastHit points
point position is returned as (0,0,0) in every case. Does anyone know a solution?
Read more >
RaycastHit.point always returns (0,0,0) - Stack Overflow
If your hit.point is (0, 0, 0), something close to it (0, 0, 0.0003) or very far away (0, 0, -5491), then it's...
Read more >
Display or hide zero values - Microsoft Support
Hide zero values returned by a formula. Select the cell that contains the zero (0) value. On the Home tab, click the arrow...
Read more >
Unity: RaycastHit2D continually returns point (0,0)
This happens if the raycast's origin is already within or in contact with an object. In these cases, the raycast's normal will be...
Read more >
Maximum points from top left of matrix to bottom right and ...
If you consider two paths – one from (0, 0) to (N – 1, M – 1) and another from (N – 1,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found