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 MartynLeeper · Dec 08, 2013 at 07:58 PM · movementcontrolboxselecting objects

Selecting objects and limiting movement space

Hi Everyone,

I'm attempting to do a prototype clone of the game "Catherine". For this I would like to create a basic character in third person. The character needs to be restricted to only moving forward, back, left and right (static movement), one block at a time. I'm trying to limit the amount that the blocks can move also (One block space at a time).

The character also needs to have the ability to select a block and move it in one of the stated directions, so as long as there is no other block in the direction that the character is trying to move the selected block.

Also the character needs to be able to drop down onto the side of a block, and move around the edges of adjacent blocks.

Here is a Youtube clip sample to show you what I mean (Skip to 4:30)

Can anyone make any suggestions on how I can make some of the proposed game mechanics?

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 robertbu · Dec 08, 2013 at 08:09 PM 0
Share

Unity Answers is designed to answer one specific technical question at a time. Questions with multiple issues are often ignored or closed. I would suggest you edit this question down to the single issue and be more specific. For example the video the character is moving on a set of stairs-like blocks. Is this what you have in $$anonymous$$d? Will you be using a character controller for movement or directly manipulating the transform?

avatar image ozone · Dec 08, 2013 at 11:50 PM 0
Share

I recommend trying out the Tidy Tile $$anonymous$$apper asset package on the Asset Store. It makes it very easy to create a grid-based level in which it will be easy to check whether a given space is occupied or not and restrict movement accordingly. It should also make it relatively easy to deter$$anonymous$$e which block to select when the player presses the button to grab a block, as you will be able to deter$$anonymous$$e this based on the space the player is standing in and the direction they are facing.

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

17 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

Related Questions

How to make camera position relative to a specific target. 1 Answer

C# Movement Script 3 Answers

How to control an object in a specific area 1 Answer

Getting Started on Android 1 Answer

Trying to get accelerated jump speed. 2 Answers


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