orienttopath problem in iTween waypoint ?
i'm new to iTween , i have a curve waypoint (that create with iTweenPath) then i want my object rotate with way point ,i mean the object orient in the path related to them( like a car in the track) so...
View Articleitween moveto not working
Hi, i'm facing a problem which unable to trigger my own method after the iTween.MoveTo(..) finished run. My Code using UnityEngine; using System.Collections; public class InGameScript : MonoBehaviour {...
View ArticleWhy does the NPC keeps sinking when moving?
Well I am doing a simple game which consists of multiple NPCs , each npc has a Character controller attached on it with NO rigidbody. the NPC has an AI script attached to it so when it sees my main...
View ArticleMove GameObject to exact position
Hi guys, I don't know if this question was already posted or not, I googled it and I found nothing.... I'm trying to do a very simple thing. Make a game object move from point A to point B in a smooth...
View ArticleConvert Mouse Position to move a cube on 1-axis.
Hello! This is my post here, and first of all i must say that i'm really at a starting point on C# scripting and Unity.. What i want to do it, using iTween Plugin, move a cube on y-axis at the same...
View ArticleiTween - look for new path, move to or reverse at end?
I would like my object to look for a new path when it reaches the end of current path. if new path is found (within x distance) object moves to and follows new path. if no path is found object reverses...
View ArticleUsing 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 ArticleStruggling 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 ArticleHow 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 ArticleHow 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 Articlehow 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 ArticleAnimation 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 ArticleMove 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 ArticleMove 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 ArticleiTween 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 ArticleUnity 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 ArticleiTween 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 ArticleMethod 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 ArticleHaving problem with itween.moveto and oreinttopath
Hello, I need help with itween.moveto. I want to shoot an arrow on a parabolic path. I've made the arrow sprite as a child of an empty game object. Both are prefabs. I want the arrow to follow and...
View ArticleMake one unit move towards another.
Edit: Okay tossed out the previous script after digging up some tutorials yet this still isn't working any help? I am working on some basic scripts so that I can use them as the basis for a few RTS...
View ArticleiTween moveby constrained by rigidbody constraints in Unity 5
I have a character with a rigidbody component, the rigidbody has it's x axis position constrained via the checkbox in the rigidbody component. In Unity 4 I was able to use itween MoveTo to move my...
View Articlehi everyone how can i move an object from a point to specific point(point b)...
i worte this code but it does't work :( using UnityEngine; using System.Collections; public class lerp : MonoBehaviour { public GameObject[] B_tower=new GameObject[2]; public GameObject[] B_coins = new...
View Articleitween MoveTo IndexOutOfRangeException
I'm using iTween, its amazing. Error which i'm getting is IndexOutOfRangeException: Array index is out of range. iTween.GenerateMoveToPathTargets () (at...
View ArticleCan someone give me code for random.range in the y axis?
Hi, So I've asked this question a number of times, and no one seems to know. It's driving me completely mental!!!! I have an enemy that starts on the right of the screen and moves to the left. When it...
View ArticleDefining a starting position for a gameobject?
Im a total noob to programming and im having issues. I want my object to start at 0,0,0 (xyz) position when the game begins and i cant find out how to do this. So far this is what ive got but when i...
View ArticleiTween islocal still using object parent axes for MoveTo
Hi, I have a simple parent child object (cube) herarchy using 2 cubes to test. Parent is aligned to world axes, child is rotated off axes in all 3 aspects. When using iTween to move the child cube...
View ArticleMake an object go to a location with only one touch
Hi all, I'd like to make a ball go to a specific point with only one touch. Each time the screen is pressed the ball moves to a different location. I only want it to move once and then reset. Thank...
View ArticlePath Movement created from user input.mouse and player follows it.
I am new to Unity and have not programmed in years... With that I only knew very simple C++ and GameMakerLanguage (GML). I realize my coding may have errors or even "no no"s... please feel free to...
View ArticleHow to make a object move to a certain point while playing animations ?,How...
hey i am making a 2d dialogue based game like nitw and i want my player to move to a point whenever a dialogue starts by itself while playing his walk animation like mae(a character in nitw) moves to...
View Article