# LaVOZs

The World’s Largest Online Community for Developers

';

# Questions tagged [rotation]

A rotation is a circular movement of an object around a center (or point) of rotation. On a mobile device, it indicates the change of orientation.

• ### How can i change the bullet Rotation or Angle

When player is shoot a bullet from a Gun. The bullet was rotate in 90 degree angle automatically. How can i fix this problem. The Code is below down. Could anyone help me please? private void ...
• ### How do I rotate a html canvas shape by only using a transform?

I am wondering how you can rotate an image by only using the transform function. From my understanding this is not possible, since the only things you can do with transform are the following: ...
• ### How does the rotation matrix exactly work?

I know that a rotation matrix is orthogonal and its determinant is 1. In R³ there are basically 3 matrices that are responsible for rotation. Each matrix is for one axis. Rotation Matrix on X-Axis: ...
• ### three.js camera rotation around z-axis and camera synchronization

I'm currently working on a THREE.JS website where I want to show car-objects/models from different angles. I have 3 Perspective Cameras, showing the carmodel from the x,y and z-axis in 3 different ...
• ### Rotate animation with condition CSS

Is it possible to rotate an element using a condition with out using Javascript. I basically want the hand to start moving when one of my innerHTML elements reaches a certain length. Also is it ...
• ### Unity 3D AI enemies with wrong rotation

I have a problem with rotation of enemies in Unity. I used this script: Transform target; NavMeshAgent agent; // Start is called before the first frame update void Start() { target = ...
• ### How to keep camera rotation pointed at origin while moving its position in three.js?

So I want to move my cameras position around in three.js, but as I move it, I want the cameras rotation to automatically update to point at the origin. So if i have the camera set as: camera....
• ### Rotate a geometry to match its plane to a reference plane

I have a 3D crystal structure written in cartesian coordinates. I specify a miller-plane of a crystal. This miller-plane should then align with a xy-plane of a reference frame. An earlier thread ...
• ### Quaternions flashing and warping objects when rotating

I decided to make my own quaternion struct and use it to rotate objects which i am rendering using OpenGL. When i rotate the quaternion each frame by a small amount it flickers and warps: I give ...
• ### How can I go from VR to 2D mode in Unity hybrid app?

I have implemented an app to use in mobile as VR viewer of the human anatomy. It is done with the Google VR SDK and I could switch from VR mode to Fullscreen mode (hybrid app). That was before I ...
• ### SVG coordinates - Why X & Y change when transform rotate?

I would like to and understand the SVG coordinate system and why things happen. I am using Inkscape to create my SVG drawing. Actually I am creating an app that reads the SVG (XML) file and create ...
• ### rotate an image based on the two coordinates

I have many images which contains two points, one at the top and another at the bottom. As well as I have the coordinates stored in the excel file too. I want to roatate the image so that it is 90 ...
• ### Unity2D: Look at object is flipping my object

I am trying to make an object look at the player and it is working as intended but for some reason it is facing the wrong direction. I have drawn an example of what is happening in my game. As you can ...
• ### Generate- and use Rotation 3D Matrix

Hi I asked before with rotating a grid in Lua before, but doing the same in 3D has proven difficult. NOTE I am not focusing on efficiency at the moment, I just want it to work as intended. Util.java ...
• ### How to crop a 1 pixel line diagonally and rotate it to a horizontal position? [closed]

I am currently new to python and I am trying to figure out if there is a way to crop a diagonal line and then rotate it until it is horizontal or would I have to rotate the image first, crop it and ...