- Home /
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?
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?
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.
Your answer
Follow this Question
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