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 The_Magical_Kiwi · Jun 27, 2014 at 03:04 PM · aialgorithmbezierformula

Smooth path finding for agents with turning circles.

Hey guys,

My team is currently working on a project in which the player and A.I control spaceships of various different sizes. These ships have different turn speeds, the fighters can turn very quickly, almost on the spot, and the larger crafts turn much slower. At the moment this turning capacity is defined as a maximum number of degrees of turning per unit of distance.

The user/A.I needs to be able to to dictate their finishing position and facing. So, given a current position and facing and an ending position and facing I built a path using bezier curves. However bezier curves do not take into account turning circles and can either be too tight for the ship to travel along or too loose for the travel to be efficient use of the ships movement points.

I've currently overcome the tightness by having the ships stop and turn on the spot if a section of the curve is too tight (http://liambrady.co.uk/customised-bezier-algorithm/). This system isn't ideal and I'm beginning to work on another system where I try to create a path by curving from node to node at the ships maximum turn per unit (see picture below), however I've no idea if this will ultimately work and consequently, I'm concerned about pouring lots of time into it.

alt text

Is there any kind of established mechanism for this kind of thing? Any pointers/thoughts or a prod in the direction of some formula or algorithm that I might be able to adapt would be really helpful.

Thanks.

capture.png (5.5 kB)
Comment
Add comment
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

0 Replies

· Add your reply
  • Sort: 

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

21 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

FPS Ai on Android phone? 0 Answers

Generate tiles along a path a certain distance before reaching end position 1 Answer

Online Advanced AI(Artificial Intelligence) with JS 3 Answers

Help me with the A* pathfinding. 0 Answers

How can I get my pathfinding algorithm to know that it cant go through certain sides of tiles 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