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

Use Vector3.Lerp to move an obj without slowdown

Hi. I try to use part of code i found on the forum, to move an object to a predetermined point(i use another gameobject). The gameobject seems to be move correctly, but the linear movement without the...

View Article


Using iTween.MoveTo() for paths in local space

Hi, I'm using iTween to create paths for objects but need them to be children of another object. As far as I'm aware, MoveTo() cannot be used in this way, or in prefabs, etc., so I was wondering if...

View Article


iTween MoveTo with LookAt

Is it possible to smoothly have an object moveto a location while always looking at another object?

View Article

Using iTween to move a gameobject from node to node

Hello all, I am using the iTween path for a level select menu. I have the path nodes set up to the location of the level buttons. I have a user icon that I want to move from node to node when the level...

View Article

iTween.MoveTo doesnt Working!

I'm newbie in Unity and iTween Plugin! So, I want to move a Cube to other position with MoveTo method from iTween, but the code i've built is not working! Why? Whats Wrong?...

View Article


Stacking iTween.MoveTo calls

Hi guys i need your help. I need my script to wait until iTween.MoveTo() ends before procedeing to the next line of code. I want to execute 2 or more iTween.MoveTo subsequently. Like this:...

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


iTween XYZ coordinates different than model transforms?

I have a model at position: -2.130466, -0.9984617, 1.754745 if I change z to: 1.444349....the object moves only slightly. But if i put this into iTween MoveTo...it moves a great deal further (not sure...

View Article

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 Article


itween 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 Article

Why 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 Article


Move 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 Article

Convert 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 Article

iTween - 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 Article
Browsing all 116 articles
Browse latest View live


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