How can I get a vector pointing in the direction the camera faces?
I already tried this but it keeps returning None
.
v = Vector((0,0,-1)) #Down vector
v.rotate(camera.rotation_euler)
How can I get a vector pointing in the direction the camera faces?
I already tried this but it keeps returning None
.
v = Vector((0,0,-1)) #Down vector
v.rotate(camera.rotation_euler)
What keeps returning None?
The rotate method has no return because it rotates the Vector in place.
ah, of course, I completely missed that!