Quantcast
Channel: Latest Questions by Polak149
Browsing all 39 articles
Browse latest View live

My character fly up very slow.

I modified code, that allows first person controler to fly. Everything is working fine, but... for some reason, my character fly up slower than goes down. My code below. Any idea? var speed = 6.0;...

View Article


Body fell of through terrain

Hi! I have rigged body attached to my FPS camera, so player can see his character body, but it seems, that only camera is colliding with terrain. I was trying to add rigidbody component to my body,...

View Article


Small objects colliding problem ("sink" in terrain).

I'm making simulation for my three wheeled robot, and i need to keep original size. My robot have diameter 15 cm and mass around 0.2. When i hit "play", i've got this effect: ![alt text][1] [1]:...

View Article

Wiki transparent terrain shader is to much transparent.

I'm making a cave in my game, so i tried to use transparent shader avaible on [http://wiki.unity3d.com/index.php/TerrainTransparency][1], but it is appear, that this shader is too much transparent!...

View Article

Coroutine with long loop in edit mode script

I am preparing own mesh generator in Unity and i need to see status of long loop. Basically I have the for loop in @ExecuteInEditMode() script and i need to write from time to time in the console...

View Article


Procedural mesh generation - problem with normals.

I'm trying to make mesh figure generated procedurally but some triangles clearly have broken normals. What is weird, everything is okay during play in editor: ![alt text][1] But after build game and...

View Article

Animation Component do not refresh after change in inspector

I have noticed, that when I add new animation clip or change one at existing index in Animation component, data are not changed until Unity reset or Scene Play. I'm creating extension to Unity Editor...

View Article

Compile priority - accessing static variables

I'm writing some editor extension to Asset Store, that will generate you pretty lava environment. This lava environment is scripted, so it will interact with objects. One of the scripts (normal,...

View Article


Unity 5.0 and alternative for triggering complex meshes.

Now, when physX 3.3 is up, non-convex mesh cannot be a trigger. It gives me a headache, because half of my game was based on large mesh surface, that was a trigger. Convex mesh cannot have more...

View Article


Error: "chanType.dimension == 0"

I'm getting wierd error: chanType.dimension == 0 UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String) UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean) I can't...

View Article

Error: "chanType.dimension == 0"

I'm getting wierd error: chanType.dimension == 0 UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String) UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean) I have...

View Article

Controller's data are not correct

I have a controller, gyroscope that return's X and Y. Windows see this controller as correct HID device and even in it's configuration window, shows correct position ( Vector2(0,0) at gyroscope...

View Article

Horizontal Layout Group padding update via script

I have UI DropDown combo box, constructed from layout groups, buttons and panels and i want to animate combobox elements (that basically are buttons placed in Layout Group) hide and show act. Idea was...

View Article


My character fly up very slow.

I modified code, that allows first person controler to fly. Everything is working fine, but... for some reason, my character fly up slower than goes down. My code below. Any idea? var speed = 6.0;...

View Article

Body fell of through terrain

Hi! I have rigged body attached to my FPS camera, so player can see his character body, but it seems, that only camera is colliding with terrain. I was trying to add rigidbody component to my body,...

View Article


Small objects colliding problem ("sink" in terrain).

I'm making simulation for my three wheeled robot, and i need to keep original size. My robot have diameter 15 cm and mass around 0.2. When i hit "play", i've got this effect: ![alt text][1] [1]:...

View Article

Wiki transparent terrain shader is to much transparent.

I'm making a cave in my game, so i tried to use transparent shader avaible on [http://wiki.unity3d.com/index.php/TerrainTransparency][1], but it is appear, that this shader is too much transparent!...

View Article


Coroutine with long loop in edit mode script

I am preparing own mesh generator in Unity and i need to see status of long loop. Basically I have the for loop in @ExecuteInEditMode() script and i need to write from time to time in the console...

View Article

Procedural mesh generation - problem with normals.

I'm trying to make mesh figure generated procedurally but some triangles clearly have broken normals. What is weird, everything is okay during play in editor: ![alt text][1] But after build game and...

View Article

Animation Component do not refresh after change in inspector

I have noticed, that when I add new animation clip or change one at existing index in Animation component, data are not changed until Unity reset or Scene Play. I'm creating extension to Unity Editor...

View Article
Browsing all 39 articles
Browse latest View live


Latest Images