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 GoldGamerGod · Mar 14, 2013 at 02:32 PM · terrainblenderpath

Keeping a player in a path/Bounding area.

Okay,so I made a bounding area for the paths I have on Unity in Blender,but when I go into Unity,the size is messed up,and I can't get it to fit the path anymore,which means it failed. So how would I keep a player within a path? I am using terrain,and I only want players to move on a road,not free roaming around, yet I can't do fences,because it feels unrealistic since the colliders mess up. How would I do this? I don't know any coding by the way,in case that helps.

The game map is built out of terrain,and on it I have painted paths,and on them paths,the player will only be able to walk (Unless choosen) so mainly,the player doesn't have freedom,he walks the path I give him/her. Its a 3D RPG,its my first game,and the colliders I have tried,making them invisible,but when I place them they have edges on them,making them unrealistic,and when I modeled it in a 3D modeling program (Blender), it isn't the correct size,and impossible to size/position in Unity without taking a year to do so.

Comment
Add comment · Show 2
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 Ben-Stoneman ♦♦ · Mar 19, 2013 at 05:32 PM 0
Share

you have a few choices:

  1. Surround the path with Colliders.

  2. build the path in a trench.

  3. Limit the player's control when on the path by using a script.

If these otions fail to help, provide some more information on your game concept. It does sound like a mix between a design and technical question.

avatar image GoldGamerGod · Mar 20, 2013 at 02:27 AM 0
Share

Tried,didn't feel realistic.

Doesn't really set in the world sadly.

Can't script.

Okay, I will update the question.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by H3core · Mar 19, 2013 at 06:12 PM

You could add invisible walls, similar to what Ben suggested in (1).

(2) would be the same, except the walls are not invisible.

I suggest you try using iTween, as it has path creation, assigning players to a set path and neat animations for smoother movement. Very handy tool, free on the asset store. Check out the website its pretty straight forward, check the main page, examples, as well as the documentation.

Hope that helps.

GL and Cheers :)

E/ Heres the site link http://itween.pixelplacement.com/

Comment
Add comment · Show 2 · 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 GoldGamerGod · Mar 20, 2013 at 02:26 AM 0
Share

I looked at itween,is there any copyright to it? And,though it looks very good, its not what I need,I want it so the player can run around..think of it as a map,but a path,so players can go left/right/up/down/jump,all that,but only limited to staying on the path,and not say going out into the forest, itween seems more like 2D games,$$anonymous$$e is meant to be 3D.

avatar image Ben-Stoneman ♦♦ · Mar 20, 2013 at 02:17 PM 0
Share

H3core is right! http://itween.pixelplacement.com/examples.php check out the Path-constrained Characters example.

  1. You purchase the asset from the Unity asset store. Once purchased you are able to use the assets for commercial use.

  2. I tween can be used for both 2D and 3D, Infact the examples are done in 3D.

  3. Without scripting knowledge this may be the closest you will get to achieving this.

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

Terrain roads + Water upgrade + Rock/stone assets? 1 Answer

Terrain mountains,which is more effective? 1 Answer

A node in a childnode? 1 Answer

Modeled Terrain In Blender Not Accepted In Unity 1 Answer

Blender world to Unity? Good Idea? 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