Joe
  • Member for 8 years
  • Last seen more than 1 year ago
Multiple enemy collidiers
Accepted answer
4 votes

First its good to note the difference between Colliders and Triggers Colliders - generally are intended to represent physics interactions, so objects "colliding with them" should not pass through one ...

View answer
Is white the best base color to start with when planning to shade sprites within Unity?
3 votes

Sprites-Additive.shader - GitHub Gist Unity colors have 4 float values typical of many color formats RGBA, corresponding to the individual percentage color values Red, Green, Blue and the Alpha ...

View answer
How do I efficiently fill the background with a tiling image?
Accepted answer
3 votes

In unity you can create one material that utilizes the texture you want to tile and one "Surface Geometry" either quad or plane. Apply your new material to your new geometry and from there in the ...

View answer
How to set up bloom in Unity
3 votes

0.) Setup Since the Release of Unity 5, Bloom (and quite a few other Image effects eg Ambient Occlusion, Blur, Color Correction etc) have also become available to Personal (Non-Pro/Non-Paid) Users. ...

View answer
How to avoid subpixel values in a resolution independent 2D game with orthographic projection?
3 votes

I think I would store two sets of coordinates. One used for drawing your objects DISPLAY POSITION and a second used for keeping a TRUE POSITION. This way you can draw sprites with rounded ...

View answer
Can you change Unity's default script template for a single project?
3 votes

unfortunately in my travels i have not yet found a way to do this, and afaik i haven't seen an add-on to specifically do this either. what i have found is an interesting answer here... of a ...

View answer
How do I ensure consistent behaviour when using Unity's Collider2Ds for triggers and collisions?
2 votes

I'd like to start with making the assumption that these objects are traveling relatively quickly, I have seen similar behavior and was able to get more reliable physics interactions doing a ...

View answer
How do I have multiple audio sources on a single object in Unity?
2 votes

I can't speak exactly to the specific issue you are having, but I can say I am fairly certain you can add multiple of the same type of component to one GameObject. The best way I have found to do ...

View answer
cost of texture change vs color change
Accepted answer
2 votes

i do believe changing the color would be much less resource intensive, however the performance depends more on the number of different textures used. check out this article for a few good bits of ...

View answer
GUI Label shows on screen when object is out of view?
2 votes

i recently resolved a similar issue by doing as bummzack suggested in his comment. the gui element is going to try and draw the nameplate on a 2d plane in front of the camera regardless of the ...

View answer
How can I more efficiently paint grass onto a large terrain object in Unity?
1 votes

You can absolutely "paint" a texture programmatically onto the Alphamaps of the terrain. Take a look at the TerrainData component and the Alphamaps methods / properties http://docs.unity3d.com/...

View answer
Unity 2d diffuse sprites not rendering on mobile
Accepted answer
1 votes

I'd put my money on shader problems here. Typically one "shader" script contains multiple options of CG programs, generally the ones with the higher hardware / software requirements go at the top of ...

View answer
Unity NGUI Arial Label looks different in iOS after updating Unity to 5.1.1
1 votes

Solved a similar issue on Android Unity 5.1.1 by removing and re-importing the actual font file into my project. Also have seen problems when using just the default Arial font face without actually ...

View answer
Unity 3d 4.6b New GUI system doesn't take touch when already a touch event is occurring in 3d scene
1 votes

Using the current version of Unity 4.6 I experienced and resolved a similar issue: My GUI interaction had become non-responsive and unpredictable whilst performing other actions (Particularly while ...

View answer
Interpolating rotated objects
1 votes

from looking at the docs I have found your issue public static void rotateM (float[] m, int mOffset, float a, float x, float y, float z) Added in API level 1 Rotates matrix m in place by angle ...

View answer
Play animation when click on each player with in maincamera unity3d
1 votes

so if i understand you correctly you actually have the test script attached to the player object not the camera? if so you'll need to make sure you have done 3 things: ensure the player game objects ...

View answer
How can I achieve a bullet tracing effect similar to the one in Planetside?
1 votes

referencing a video clip here i imagine there are a few things going on: not every bullet is being drawn with a "tracer" - just like you said in theory i think you could accomplish this effect ...

View answer
How can I implement a more realistic momentum system in Unity 4.5?
1 votes

for each object with a Physics RigidBody component you can check the Component options in the inspector... and iirc there will be check boxes and input fields to allow you to modify these values ...

View answer
What size should I scale my sprites to before importing them to Unity?
Accepted answer
0 votes

I think you have to weigh the cost / benefit of loading larger assets into your project verses dealing with scaled game objects within a scene. Personally I keep my assets at actual size, smaller the ...

View answer
Multiple weapons for android game
0 votes

for a similar requirement in a prototype (all be it on unity for desktop) but i think the logic, planning & structure should stay the same. i was able to create a parent object for each class of ...

View answer