Quantcast
Channel: Latest Questions by Larry-W
Browsing latest articles
Browse All 27 View Live

Touchscript and built-in collision detection

Hello, I am trying to implement the Asset Store package "Touchscript", but am running into one major problem: I can't seem to get the objects I am moving with touch to "interact" with the rest of my...

View Article



UI Slider; -x to +x range, 0 center; how can I get it to fill both directions...

Situation: I have a slider, with default value 0, and a range that goes from -5 to +5, with "whole numbers" checked; the slider is in it's default horizontal position. When the slider is at zero, half...

View Article

Animating UI Images - Wondering if there is a more formal way of doing things...

Hello, I've been researching Animating UI Images, and the best solution I came up with seems kind of informal... I was wondering if there was a better, built-in way of achieving this... I tried using a...

View Article

UI - How can I prevent a Rect Transform on a canvas from blocking clicks?

Hello Say I have 3 objects on a canvas, disposed as follows: (each is parent of the next) Canvas - object1 - object2 - object3 Now imagine each of these to be in ascending order in area, (area of...

View Article

Child object's collider (on a different layer) is interfering with parent...

Here is a glimpse of my Hierarchy: Ball object (with sphere collider, rigidbody)[on 'default' layer] - Cube object (Cube collider) [on 'testLayer' layer] When the cube object described above is...

View Article


How can I make a part of a mesh to be invisible - ie: see through parts of...

I have a 3rd person camera that has it's .forward always pointing towards a specific object. Occasionally this object finds itself behind other objects/meshes (like walls for instance). I have a script...

View Article

Shadows pass through meshes after baking

To keep it simple, I have a scene with plane, a ball and a wall. Prior to baking the lighting, there are no issues. Once I run the bake, the shadow cast by the ball hits the wall on one side, permeates...

View Article

Everything is choppy... How can I make object movement more fluid?

Hello, I'm having problems with making objects move fluidly through my game world. I've toned it down to an extremely basic situation: Setup: 5 x planes placed one after another to make a long "field";...

View Article


Unity 5 - Android platform performance issues...

Hello, I seem to be having trouble getting my projects to run properly on Android devices... More specifically, every project I attempt to run on my Galaxy S4 @ Android4.4.2 seems to be slightly...

View Article


How can I convert a "grid" of textured quads to a single mesh?

So, quick description of setup: +GameObject Grid -GameObject GridSquare [MeshRenderer / quad / mobile diffuse with image) -GameObject GridSquare [MeshRenderer / quad / mobile diffuse with image) -...

View Article

How can I modify a Mesh object's uv variable directly?

Hello, I've been experimenting with modifying a Mesh object's uv variable (type: Vector2[]), and I've only been able to make changes to the array via another object: // Works fine, causes the values in...

View Article

ParticleSystem performance optimization questions: Clear(), Stop(),...

Say I have a ParticleSystem Component on a GameObject. If .SetActive(false) is called on that GameObject while the ParticleSystem is still playing, does the ParticleSystem .Clear() itself? Does it cost...

View Article

UI Shadow script - performance question

Hello, I've been using the UI "Shadow" script a lot. In fact, most of my UI elements have multiple Shadow components attached. How expensive is this (performance-wise)? Would I save a lot by applying...

View Article


New File" templates">Change Monodevelop's "Add -> New File" templates

Windows user here. Running latest version of Unity 2017 (.1.0f3). I successfully added custom templates for the Unity Editor (by modifying the files in C:\Program...

View Article
Browsing latest articles
Browse All 27 View Live




Latest Images