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 /
avatar image
0
Question by SLY985 · Jan 22, 2013 at 03:55 AM · movementclicktomovediablo

Click-To-Move like Diablo 2/League of Legends/DoTA/Torchlight

Hi there, just to start I know C# primarily on Unity C++ is my strong point (but too bad cuz unity doesnt like it)

My question is though is im looking for a movement "motor" like the games above where you click to move somewhere and it will then try to get to that position etc. and ive attempted this and already have a good click to move C# system BUTTT no pathfinding, i would like to know if anyone has any good scripts, ideas, ANYTHING because ive tried AStar or A* and i dont like it, when the objects gets near the end of a "wall" or object it begins walking into it trying to pass it and its just annoying. I was wondering if anyone had any [already working] script for it that i may be able to just place on a player object and just already to use good to go. If anyone could help that would be great

OH and if there is one that also has an ability to tell the code what objects not to pass through like terrain or structures etc. that would be cool if not i can try to implement one THANKS!!

P.S. I will also let anyone who has contributed know the progress of the game and that if at all i decide to put the game out for free that i will consult them before doing so and give credits so please give usernames/email adress or anyway at all to get a hold of the creator if it is not your work thank you.

Comment
Add comment · Show 1
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 AlucardJay · Jan 22, 2013 at 03:55 AM 0
Share

http://unitygems.com/astar-1-journeys-start-single-step/

http://angryant.com/path/

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Vincent P · Jan 22, 2013 at 06:28 AM

Look at iTween as well. I know you've already written the "click-to-move" code. But iTween will do this as well.

Check these examples from iTween, there is an example there that almost looks like a top-down game (like you mentioned.)

Comment
Add comment · Share
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
0

Answer by SLY985 · Jan 24, 2013 at 04:26 AM

ok cool thank you, i dont particulary (<- spelled wrong) have time right now cuz its super late but ill check out both of your guys stuff and post my "findings" haha thanks though for the reply

:)

Comment
Add comment · Share
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

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 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

Related Questions

Click to move Diablo Style 3 Answers

A node in a childnode? 1 Answer

Change int value for 30 sec... 1 Answer

Sphere move only on ground 0 Answers

Unity Always Moving Right 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