Quantcast
Channel: Questions in topic: "moveto"
Browsing all 116 articles
Browse latest View live
↧

Using moveto after instantiate?

I'm trying to have an instantiated object follow a moveto command after being instantiated. *Note:* I'll add my code later since I'm not at home right now, if anybody has any ideas until then it's...

View Article


Struggling with iTween moveTo example code

Hi all, Bit embarrassing this one. I want to start using iTween but I can't even get the example code (copied from the PixelPlacement website) to work. Unity makes a number of complaints:...

View Article


How to set iTweenpath dynamically

Plz tell me how to set iTweenpath dynamically. Or it would also be nice if you tell me how to perform sequence of moves using iTween. **my code: this is not working || Log prompts like: no path with...

View Article

How to move GameObject to an initial Point?

I need help in creating a script that moves my GameObject (cube) from the initial place where it was. My cube persues and kicks a ball, when he do this he stays in the place where he kicks the ball,...

View Article

how to use a speed of controlled at any time in "moveto"

If I have a GameObject is running by Itween,I hope to control it's speed at any time. For example a car is running by Itween in a fixed path, Suddenly found a object ahead.I hope it could slow down...

View Article


Animation completion using iTween

I want to detect animation completion using iTween. Basically I can able to move object using iTween but I also want to perform listener task also. My code for this task Vector3 position =...

View Article

Move object on curve with same angle

I am trying to move my object on curve path that is simple animation not any physics implementation. I have already working of object on curve based path but can't able to find same movement angle. For...

View Article

How to move and scale object with iTween without slowing down effect?

View Article


Move to Mouse acting odd...

I am trying to move a plane to my mouse cursor with the following script: public float speed = 1.5f; private Vector3 target; void Start () { target = transform.position; } void Update () { target =...

View Article


iTween MoveTo not working at all

its a simple script but gives me a handful of errors that I dont understand how... heres my code ` using UnityEngine; using System.Collections; public class Buttons : MonoBehaviour { public GameObject...

View Article

Unity 4.6 - How to Move a UI inside of the canvas

hello everyone, i have a question. i'm trying to move a UI element to the center of the screen. I'm using this: newPosition = Camera.main.ScreenToWorldPoint(new Vector2((float)Screen.width/2f...

View Article

iTween movetopath

Hello People. I am using iTween to make a path for my camera to follow. All good, but there are times when I want to have a switch (mouseUp an object) that will make the camera move to a new path (path...

View Article

Method not working correctly in Unity 5

My method works perfectly in Unity 4, but does not act as expected in Unity 5. I don't know if I am doing something wrong or if it is something with iTween. With Unity 4, the method takes the current...

View Article


How to make your script wait until function finishes

Greetz, i need a bit of help I m having a hard time for a few days allready figuring out how to execute multiple iTween.MoveTo functions. Basically, i need my script to wait for the iTween.MoveTo to...

View Article

iTween MoveTo + Rotation?

Hello everyone. I'm using iTween's MoveTo to move my gameobject along a path and everything works fine. My problem is, the rotation of the gameobject stays the same while he is moving along the path. I...

View Article


iTween MoveTo doesn't move. [C#]

Hey It worked perfectly this morning, but now the float thingy doesn't work (the rest works fine) Does anyone know why this is happening? if (transform.position.x >= 5.5) { iTween.MoveTo(gameObject,...

View Article

iTween MoveTo/MoveUpdate

Hello everyone. Right now I'm using MoveTo with iTweenPath to move my gameobject. My problem is that I want to change the last node in the path during runtime. I managed to do that trough code, but it...

View Article


Using the same iTween type twice doesn't work!

I've been using iTween for a while now with really good results. There is one little aspect that is bugging me off. I'm making a bejeweled clone, and my issue is with a certain mechanic: You choose one...

View Article

iTween, moving to a node on a path.

I'm making a board game and I decided to try and use iTween for the pathing around the board. I have 42 tiles around my board, each with it's own node. I can get the gameObject to go completely around...

View Article

Mathf to get point on edge of circle (via radius and angle)

Hi guys, I am trying to create a GUI wheel with power-ups icons and having some trouble. I researched this quite a bit, and what I want it to do is put one gui element an equidistant space from the...

View Article
Browsing all 116 articles
Browse latest View live


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