Сообщения, созданные пользователем alpatel2008
09 июня 2017 18:28
08 июня 2017 15:44
08 июня 2017 14:15
Yes Sir,
When i move object, disabled camera controller, and when mouse up camera enable.
so, 3d object drag it in like as 2d view. but (dragging off) mouse up it takes 3d view.
it work but mouse movement not along with selected object coordinate.
I attach my html file, json and bin files with javascript code.
When i move object, disabled camera controller, and when mouse up camera enable.
so, 3d object drag it in like as 2d view. but (dragging off) mouse up it takes 3d view.
it work but mouse movement not along with selected object coordinate.
I attach my html file, json and bin files with javascript code.
08 июня 2017 13:31
08 июня 2017 10:29
sir, i tried but when i move backside it does not work and top and bottom position lock.
Any new method possible?
I am trying to solve my problem in new way.
code below:
var x = m_mouse.get_coords_x(e);
var y = m_mouse.get_coords_y(e);
var dx = x / 1000;
var dy = y / 1000;
m_trans.move_local(_selected_obj,dx, dy, -0.1);
but how can i calculate dx, dy and dz.
it work but calculation wrong according to mouse and object movement.
Any new method possible?
I am trying to solve my problem in new way.
code below:
var x = m_mouse.get_coords_x(e);
var y = m_mouse.get_coords_y(e);
var dx = x / 1000;
var dy = y / 1000;
m_trans.move_local(_selected_obj,dx, dy, -0.1);
but how can i calculate dx, dy and dz.
it work but calculation wrong according to mouse and object movement.
08 июня 2017 09:44
08 июня 2017 07:47
Thank you for reply in detailed.
I implemented this but it doesn't work in some cases and some times. when i move screen backside it doesn't work properly.
and object vary front and it can't drop it in my target object.
This idea is not properly working as per my purpose.
Any other technique, idea for move object, please give me.
Thank you.
I implemented this but it doesn't work in some cases and some times. when i move screen backside it doesn't work properly.
and object vary front and it can't drop it in my target object.
This idea is not properly working as per my purpose.
Any other technique, idea for move object, please give me.
Thank you.
07 июня 2017 18:57
07 июня 2017 14:30
07 июня 2017 13:05