Quantcast
Channel: Questions in topic: "rotating"
Browsing all 173 articles
Browse latest View live

How can I make an object rotate to one point and not keep looping?

I have an object with this function: if(Input.GetKey(KeyCode.Mouse0)){ transform.Rotate (0,0,900*Time.deltaTime); } My object just keeps rotating forever , when my objective is to , when the user...

View Article


Player Not Rotating

Hi guys, I'm new to Unity and I've just gotten my character to walk around in the environment. However, the character is not turning when I press the left or right arrow keys. I've been following this...

View Article


How do I rotate quads belonging to GameObject?

Hi all, I have a game object containing 3 quads, each positioned at 0.002 of each other in the Z axis as to act like layers (think photoshop). These quads have materials which have transparent parts,...

View Article

when trying to rotate, the object transforming itself

when trying to rotate the object, which is added to the other object group, it extremely transforming itself and there is no way to fix it except undo the rotation, did somebody have any ideas why it's...

View Article

Is there a OnRotation Event for gameObject?

Hello i plan to use in my game vector graphics (in january asset to do that appear in store so bought it when i saw), but whilst i'm currently at the moment when i successfully imported shapes and...

View Article


RenderTexture Mirror - Camera postion and rotation

Hello, I'm trying to make mirror using the RenderTexture. Everything works as expected except of one simple detail, which I'm trying to figure out. I've been searching for a long time online now but...

View Article

Rotating an object with the mouse and retrieving data

Hi, I'd like to be able to rotate an object using my mouse and then I need to know how quickly that object is rotating... I'm stumped! In the picture the blue dotted circle will be the collision area...

View Article

Rotate 3D object in 2D world space properly

![alt text][1] [1]: /storage/temp/71992-nn12.png I'm trying in put a 3D Object to 2D world. Like left figure, I written a code that rotating 'Pillar' to tracking 'LookAt' in 2D camera mode....

View Article


Stop rotating after falling down

Hello, a newbie here. Learning C#, while expermenting on Unity. so I created Sphere as a game object. and it can ride on a platform. if, he falls down, i want him to get back on the screen and take one...

View Article


slowly turn an object 90 degrees by key press

how can i slowly rotate an object 90 degrees by key press? (_so the object can only turn 90 degrees on the Z axis_) (code in C#)

View Article

How to correctly rotate an inclined object?

![alt text][1] [1]: /storage/temp/75508-rotating-help.png I want to rotate this inclined steering wheel, see image. Thanks in advance for everyone who tries to help

View Article

I have Two Issues with (Catmull)spline rendering.

Hello i have two questions i would like to ask. (1). As you can see in Pic1 it does not render as a loop, does anyone know how to fix this? ![alt text][1] (2). How do i Rotate the mainPoints(Cubes)...

View Article

I have Two Problems with (Catmull)spline rendering. That i don't know how to do.

(NOTE: This is a copy of this [thread][1](I don't know if i'm able to copy threads so more people can see it, but if i'm not supposed to, i will remove this thread)) Hello i have two questions i would...

View Article


Is 360° the same as 0°?

I have an object that I want to rotate around a parent object. So it would be something like this (see picture). http://prntscr.com/5pz2kd So I'll need to rotate the parent in order for the object to...

View Article

Rotating object with RayCast, rough terrain. RTS

Hey guys! Im having some issues with the rotating part of my objects. Its moving fine through terrian without rotation, but not with. What happens is that the object starts jump around and shaking when...

View Article


How Do I Rotate An Image Equally Around A Circle?

Hi, I have a player image that rotates around a central point. That part of the code works fantastic. If I had a sphere that had to rotate then life would be grand (so positioning is not an issue). I...

View Article

Rotating single axis like the same axis of an other gameobject

In my game i'm trying to rotate the x-axis of the head of the player like the x-axis of the camera in it, but i don't know how to do that. I know how to rotate single axes, but not how to rotate them...

View Article


Rotating transforms object

Everytime I try and rotate and object it stretches it? so if i have a cube, as i rotate it, it's z flattens but its x expands. I just want to rotate the objects position, not literally rotate the...

View Article

Rotating 3d person character

Hi All, I need your help. I have script to rotate my character via joystick. public class PlayerController : MonoBehaviour { [SerializeField] private Animator animator; [SerializeField] private float...

View Article

Rotate GameObject on specific axis

Hello together I'm a Unity beginner, so my question is may easy to answer to you. But I'm struggling now for a while and don't know what to do else. I want to implement a "Holographic Puzzle" for the...

View Article
Browsing all 173 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>