Skip to main content

Questions tagged [rotate]

Filter by
Sorted by
Tagged with
0 votes
0 answers
49 views

I'm working on designing and animating the sky with a cubemap. The surfaces except for the "TOP" move in a way that follows each other. However, I could never figure out how to adapt the &...
cvaqabond's user avatar
0 votes
1 answer
83 views

I'm working on a tile-based game and I'm trying to rotate my tiles as a group around the center of the screen and want to have the ability to zoom in and out. Here my code: ...
Canox's user avatar
  • 113
0 votes
1 answer
116 views

I have this movement script on a Rigidbody cube with X,Y,Z Rotation Constraints. It is working well to move and to rotate in the direction of the movement. However, ...
Max's user avatar
  • 11
0 votes
1 answer
212 views

What is the difference between the two circles in the rotation tool in Unity? In 2D rotation tool there are two circles which allow to rotate an object. And I can not conceive a difference between ...
some1 here's user avatar
0 votes
1 answer
964 views

I'm using SDL2. I want to draw a textured rectangle and I'd like it rotated so I'm using SDL_RenderCopyEx. However SDL2 doesn't give me the option of repeating texture so I need to manually do it ...
Eric Stotch's user avatar
2 votes
1 answer
212 views

Why is the parent that contains 4 children jumping around and then settling into a position instead of rotating once by 90 deg? I can't seem to get it to rotate a single time as expected. ...
mavish's user avatar
  • 151
3 votes
3 answers
615 views

Sorry for my english. I added a picture to explain what i want. I want rotate Big Sphere to make the black point locate in front of camera. (to the white point's position) not black point moving, ...
Hree's user avatar
  • 125
-1 votes
1 answer
1k views

I've been stuck on this forever now because I don't understand math in the slightest and when people talk about matrices they just give the table and don't explain how to actually go through each step....
fong monkey's user avatar
0 votes
1 answer
172 views

i'm using the script down below to make my camera look at mouse x and y position, and it has a limitation for my camera rotation.the problem is the way my camera rotates is not smooth at all.is there ...
h00man13's user avatar
0 votes
0 answers
76 views

I'm trying how to work out how to Rotate a Vertex using Quaternions, using a scientific calculator, or on paper. Exam preparation. My lecturer has given us this; Quaternion = (-0.5, 0, -0.7071067, 0....
George_H's user avatar
0 votes
1 answer
57 views

I want my player object rotate to face vector3 point on terrain. ...
Omer's user avatar
  • 214
0 votes
2 answers
1k views

Look at this image, I selected an object and pivot is set to local: When I rotated selected object in the scene by X axis, it rotates exactly I wanted. But if I rotate axis from inspector or script, ...
modernator's user avatar
  • 1,223
0 votes
1 answer
166 views

I am trying to rotate my player along the centre of the world in Unity3D. All the tutorials and references I have looked through till now have left me to this working code: ...
Sudeep Kandregula's user avatar
0 votes
2 answers
1k views

I'm trying to rotate the camera around the view point of the camera. So when the user looks at a build the camera rotate around that building. But the camera does not need to have the building to ...
JimmyD's user avatar
  • 135
0 votes
3 answers
1k views

I'm working on a small project to learn Blender and Unity, and one issue I recently came across is that while I can have the turret of my tank rotate on the z-axis based on mouse movements, I can't ...
Michael Kaesy's user avatar
0 votes
1 answer
132 views

I have created a player character controller. It rotates first time good but not after rotate to its original position before rotation. I am sharing code with you so any one can help me, How can I ...
hardwork's user avatar
  • 117
1 vote
1 answer
1k views

im new to unity scripting, and now am building upon "Roll a Ball" example in unity training. I wanted to make the camera rotate around the ball in the scene in Y axis, when mouse is moved, and watched ...
MrChips's user avatar
  • 85
0 votes
1 answer
222 views

I develop a game on cocos2d-x cpp. There is a ball sprite in my game. I move the ball on a surface(wall) via touch events but it can't naturally rotate according to its velocity. if i use ballSprite->...
Murat Bozdemir's user avatar
1 vote
0 answers
66 views

It is possible to flip VBOs horizontally and vertically by swapping around destination coordinates. Is it possible to rotate an image by any angle, such as 45 degrees, using different destination ...
Lucien's user avatar
  • 1,186
-2 votes
1 answer
1k views

I have centre of sphere at x y z. now I want to rotate any point (a b c) on the sphere about centre. how can I do it in c++.
arjun's user avatar
  • 1
2 votes
2 answers
1k views

I am new to C# and new to Unity. I made a script that can turn a cube slowly one time after a mouse click but I feel like its probably wrong for using FixedUpdate. Is this OK or is there a better way? ...
Jacob Jones's user avatar
0 votes
1 answer
1k views

So I am making an "Asteroids" like game and I can principally get my sprites image to rotate but when I do, the image gets kinda torn apart. This is the method I am using for rotation. Any help would ...
SyntheticWeb's user avatar