Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Oct 23, 2013 at 02:40 AM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by maclaine · Oct 16, 2013 at 03:09 AM · itweenmultiplepathmoveto

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 direction on current path. I am very new to unity, my background is modeling and animating in 3ds, very new to coding, sorry (hopefully) if there is simple answer, but could not find it searching, thanks

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robertbu · Oct 16, 2013 at 05:22 AM 0
Share

How do you store the paths: Array of paths? A path assigned to empty game objects?

Paths are typically defined by an array of points (Vector3s). How is the distance measured: From the endpoint of the new path? From one of the Vector3s that define the path? Or from any position on the path?

avatar image maclaine · Oct 22, 2013 at 06:51 PM 0
Share

to answer robertbu, I plan on attaching each path to an object in the scene that the user can move, the user would move the paths around the scene to manipulate a character's position in the scene. the paths would be measured from the end point on the path that the character has reached to the end point of the new path

avatar image robertbu · Oct 24, 2013 at 03:57 PM 0
Share

@maclaine - $$anonymous$$y answer would have taken a bit different approach but I needed the additional information. But it looks like you got an answer you are happy with.

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iTweens MoveTo and "path" property 7 Answers

itween MoveTo IndexOutOfRangeException 0 Answers

Using iTween to chain multiple paths together 2 Answers

iTween Camera Jitter while moving on path 2 Answers

iTween: change parameters during the path 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges