onmouseover - Three.js difference between mouseclick and mousemove -


i trying intersect plane geometry, 3600px x 3600px.

this works fine, while used in onmousemove- function, copying , pasting code, onclick- function give result every 10-20 clicks, while click noticed.

var intersects = raycaster.intersectobjects( intersectables );  if ( intersects.length > 0 ) {      var intersect = intersects[ 0 ];     console.log( intersects[ 0 ].point.x ); } 

once clicked point, on plane geometry, responses on raycast, can click several times , responds again. of plane-geometry not, when clicked charmingly, while overmoused.

is there difference, between mousemove , onclick not aware ?


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -