All Questions
9
questions
1
vote
0
answers
23
views
Python Centering Mouse X Y Coordinates To Operator
I am trying to get familiar with the modal operators in blender and want to create some kind of custom trackball rotation.
When I set the rotation euler values to the mouse_x and mouse_y event values, ...
2
votes
1
answer
96
views
3
votes
1
answer
57
views
Infinite (event.mouse_x - self.init_mouse_y) value scrolling?
I'd like to allow for an unlimited mousemove delta value in my python add-on, similar to how you can press G to move the default cube in blender and you can move your mouse outside the 3d view and it ...
1
vote
0
answers
180
views
Getting the global coordinates of a vertex from mouse location
I have a some code here that I combined from other people to test out implementations on how to get the correct global coordinates of the vertex that your mouse is hoovering over.
There are 2 ...
0
votes
1
answer
72
views
BGE Python: Mouse Sensor Error
I tried to program something that makes the camera look at the mouse for one of my games, but it keeps giving this error on line.7:
...
0
votes
0
answers
127
views
Click on mesh coordinates in python API
Is there a way to get the exact coordinates where you click on a mesh in python code? Faces can be big, so the vertices are not really good enough.
0
votes
1
answer
74
views
Weird issue with LMB on caps lock
Running Linux and using a small Python script globally in Xorg to bind left mouse down + up to the caps lock key. I use this because of RSI and the buttons on my trackball are crap.
It just works with ...
1
vote
0
answers
40
views
How get mouse position for a custom selection script in Blender 2.8/2.9? [closed]
I`m trying to make script that selects objects with the same property. Operator "bpy.ops.view3d.select" selects only in the zero position (0,0), and function "event.mouse_x" ...
1
vote
1
answer
124
views
BGE Mouse Look Min and Max Bounds Changing?
I have written a script in python that successfully saves and loads the position and rotation of my player cube and camera for use between scene transitions. However, something is going wrong with the ...