The rotate tag has no usage guidance.
2
votes
2answers
34 views
How to properly rotate towards a local point in Unity C#? (a local LookAt)
I am having a nightmare trying to make a child object rotate towards a given point of its parent object, similar to what is possible at the world level when using LookAt.
The problem is that most ...
-1
votes
0answers
15 views
How can I make a gameObject rotate while jumping, then once it collides with another gameObject, return smoothly to its original rotation? [duplicate]
How can I make a gameObject rotate while jumping "in the air", then once it collides with another gameObject, return smoothly to its original rotation like shown in the following video: ...
1
vote
0answers
31 views
Can I “Pre-rotate” VBOs while loading them in LWJGL?
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 ...
-1
votes
1answer
27 views
Right-side weapon rotate to face the mouse target
I have a 3D game looking from top to bottom where I move the mouse to aim at targets.
I have a simple box (the player) with a sphere on its middle-front (that is the pistol) and a cylinder on its ...
-2
votes
1answer
59 views
how to rotate a sphere around centre (x y z) [duplicate]
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++.
1
vote
2answers
142 views
Rotating a swinging sword in LWJGL gives wierd results
I'm making a 2d top down game in Java using LWJGL(OpenGL, essentially). I recently tried adding a swinging sword mechanism. My coordinate system is set to the bottom left FOR ALL objects. The rotation ...
0
votes
0answers
224 views
Rotate gameobject on fix X and Y axis with touch
I'm using Unity 5, and I want to rotate an object using touch input. This works:
target.transform.Rotate(touchDeltaPosition.x 3.0f,touchDeltaPosition.y 3.0f ,0,Space.World);
The problem is it also ...
1
vote
2answers
134 views
Making a cube slowly rotate 180 degress one time on a mouseclick
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? ...
-1
votes
2answers
226 views
Accelerometer bike game rotation help
Hi I've been making a game for the last few months and not sure what to do.
It's a 2d bike game and I want the rotation done with accelerometer, at the moment To test on computer I've set the ...
0
votes
0answers
79 views
How do I rotate a skybox?
I am trying to find the way to rotate my skyBox. I have a vehicle at a static position (0,0,0) and I can rotate that, but it seems that rotating the skybox is a different operation.
First I load the ...
0
votes
0answers
180 views
Minecraft Forge 1.7.10 Modding: Using BlockPistonBase metadata as a determinant for facing direction
I've recently begun to revamp some old code that I've had lying around by utilizing a lot of what Minecraft already has available, but have run into a bit of an issue. I have this large chunk of code ...
0
votes
1answer
117 views
Rotating an image in Python
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 ...
2
votes
1answer
508 views
Unity Android Orientation Bug in Auto Rotate
I am currently looking for a workaround, or fix, for a Unity bug.
I want to be able to auto-rotate my game, while respecting the Android system settings.
Currently, if you set your Unity Orientation ...