Reputation
763
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 3 11
Newest
 Benefactor
Impact
~50k people reached

Aug
30
comment Using coroutines to instantiate larger GameObjects in Unity/C#
Ok... This doesn't sound like it works fine "The problem we are having is that when we try to shoot, Unity trhows the Object not set to an instance error." But fair enough... Good luck.
Aug
29
comment Using coroutines to instantiate larger GameObjects in Unity/C#
I take it the "Poolable" class is contained within the "Pool" class? Is this class attached to a GameObject? Also ensure the prefabs you wish to load are inside of a folder named "Resources" inside of the "Assets" folder... Otherwise it won't be able to find the object.
Aug
26
comment Getting size of Unity3D scene (bounding box)
Have you tried anything?
Aug
26
comment How can zoom into my object when that object is being clicked?
Although it's not exactly what you want, you can have a look at this script which has the ability to zoom into the point between your moving fingers. savalishunitytutorials.com/touchmovementjavascript.js
Aug
24
comment Determine facing direction mecanim 2d movement
Can't you just use the normalized movement_vector? Wouldn't that give you the direction your player is moving? I assume he moves in the direction he is facing and doesn't have a strafe.
Aug
22
comment Unity tiles with wierd border flickering when moving horizontal 2D
I saw a problem like this a while ago. It was due to floating point precision and was fixed by adjusting the isometric camera size... Not sure if that will help but give it a go.
Aug
22
comment Create a 2D trail in Unity?
You could only allow the second camera to display the layer containing your cross pattern.
Aug
21
comment How to achieve a for loop without Unity crashing?
I agree with the accepted answer. I would start with a blank scene and keep adding the contents of your buggy scene until it starts freezing again... Obviously the one you just added is probably causing the issue.
Aug
21
comment How to achieve a for loop without Unity crashing?
Is that the only script you have attached to any GameObject in your scene?
Aug
17
comment Using unity's car ai for enemy tanks or creating a simple vehicle ai?
If you don't need 70% of the code in unity's vehicle AI script then why have it there. I personally would keep it simple and only have what you need. When designing for mobile you must be extremely aware of performance so to answer your question, id say yes... It is overkill to include complex behaviours for a simple task.
Aug
17
answered Objects stick together on Collision
Aug
17
comment Player in Spaceship
Why would you add force when unity already has the ability for Gravity? Each rigidbody has an option for Gravity... The hardest thing would be figuring out whether you're in a spaceship or outside it.
Aug
16
comment Objects stick together on Collision
Where are you calling the addforce method? Is it in OnCollisionEnter2D... If so,try changing it to OnCollisionStay2D.
Aug
13
revised Java game Inventory problem
added 12 characters in body
Aug
13
answered Java game Inventory problem
Aug
12
comment Creating Fog Of View in 2D game with lighting method
How is your world/level constructed? Are you using tiles?
Aug
7
comment Collision Detection/Response Issues in Unity
What happens when you change the pixels to units to 100? Having a low pixels per unit actually increases the workload on the physics engine... This may be what is causing the overlapping. If you need your sprites to be larger than their default size, then I suggest manually changing them in an image editor as opposed to reducing the pixels per unit in unity.
Aug
6
comment What is the alternative to Time.time for scrolling texture?
I am telling you to use a time function... But the value you should input into the offset should be the value returned by the repeat method.
Aug
6
comment What is the alternative to Time.time for scrolling texture?
I would be more inclined to use Mathf.Repeat to alter the texture offset based on the Time.time... This would eliminate the bug you are experiencing... You can limit the repeat method to return a value between 0 and 1.
Jul
31
comment Does game servers use optimised packet builders?
Post this on the unity forum.