- Home /
Tower made of cubes - Troubles to move
Hello,
I'm actually starting with unity, and I wanted to create a prefab asset : A tower made of cubes (1-1-1), many, many cubes.
Eventhough i'm quite satisfied with the overall look of it, i met an in-game problem : Even if the floor seems flat (cubes are 1-0-0 / 0-1-0 / 0-0-1 far from each other), i can't move freely and i'm oftentimes stopped, like by invisible walls. I can jump on the cubes, but i'd like to walk by them.
As i'm looking forward creating many prefabs, i can't let this unsolved. Shall i use 3D planes on standable zones ? I tried to play with physx materials (friction) but it didn't helped. Shall I remove all coliders boxes to create invisible ones to simulate a flat ground ?
In order to help you (and then, me) with specific informations, you'll find my unity package there : °==°=> http://uptobox.com/orzp0looh809 <=°==°
You'll find the Scene on "Assets>Scenes>Scene" (the others are mere trys on unity) and the tower assets are ton "Assets>prefabs>tours>maF*ckingTower"
"Grande Tour Complète" for the Outside + Inside, "Grande tour vide" for the outside and "Intérieur de tour" for the inside (Stairs and floors)
Thanks,
Answer by turacept · Aug 16, 2015 at 03:26 PM
did you mess with the cubes box colliders? if you did then you have to change the size of them back to normal size, you should create a new scene make a ground (plane) put your character on it, then create cubes and don't put them inside eachother and then you should be able to move around. unity comes with a free first person controller it is a package, hope this helped.
I didn't touched cube colliders (i tried after, but didn't saved it) but it seems some of my cubes are not perfectly placed with others (1.0001 ins$$anonymous$$d of 1) and it might be the problem, but it means too much troubles.
I'll definitly try with the plane
Your answer
Follow this Question
Related Questions
How to rotate a cube with ecuations, 0 Answers
Why does one primitive Cube have 100 vertices?? 2 Answers
trying to make the inside of a rubik's cube 2 Answers
How do I make a grey cube transparent? 1 Answer
Cubes in pool 1 Answer