Terrain has high draw calls
Hi All, Our solution to woods/trees did not scale well with large maps so we are trying terrain engine. We used the height map import with the shape of our lake hex grid. Our maps are basically flat...
View ArticlePlayer Settings file location
An asset import from store cleared out all the Player Settings? Where are these settings so we can Configuration Manage(CM) them?
View Articlelight rigidbody pushes aside heavier rigidbody
The lighter rigidbody is mass = 1. The heavier body is 1000. They are both capsule colliders. NO I cannot make any of them kinematic. The light strikes the heavy at 35 knots. The heavy is stationary....
View ArticleDoes the accelerometer just return relative rotation angles
My app is trying to detect the movement and stopping of a mobile phone. GPS is NOT the solution. Moving the phone around and printing out the acceleration, it appears it has nothing to do with the...
View Articlechanging collider size avoids collision detection?
Hi All, I'm trying to use the physics engine to simulate a traveling sound wave. I'm using a sphere collider whose radius grows to match speed of sound. The edge of the sphere is the wave. Every...
View ArticlePrefab name in Project does not match Inspector
Hi All, The prefab name in inspector has the name I assigned to a prefab's instance at runtime. When I try to change name in Inspector, it reverts back to name I assigned at runttime. Run time name:...
View ArticleFixedUpdate only called during InvokeRepeating script
Hi All, I'm creating new GameObjects from a prefab in an InvokeRepeating script. The GameObject's FixedUpdate gets called in early stage of application. As time goes on, the FixedUpdate only gets...
View ArticleStopping a selected coroutine
Hi All, Trying to stop a selected coroutine of the same method. Is there a stop method to pass in a handle to a thread? public IEnumerator crossFadeThread( AudioSource fadeOut, AudioSource fadeIn,...
View ArticleUnable to select instantiated object in hierarchy during play
Hi All, I am creating NGUI Sprites at runtime for contacts on a navigation map. During play, I cannot select them in the hierarchy view. If I pause, I can select them. Not sure if it's an NGUI or Unity...
View ArticleRigidbody should only torque around selected axis
Hi All, Tuning the turning radius of a ship. It flops over and pitches in the first 90 degrees of course change? It slowly rotates around local Z and X axis too. I only want the y axis. I apply forward...
View ArticleInstantiate with the prefab's existing Transform
The Instantiate functions require passing in a position and rotation. I want to use the transform that is with the prefab. I'm using a factory pattern to change the look and feel of base prefab at...
View ArticleSynchronizing C# event handlers at Start
Hi All, Having issues with synchronizing c# event handlers at Start(). I cannot control the order of Start calls. An event is sent to synch all the event handlers. Some register handlers after the...
View ArticleWhere does AddRelativeForce apply forces?
Hi All, Does AddRelativeForce apply it's force at the CG or the (0,0,0) of the rigidbody? If it claims it will not produce a torque, it has to be at the CG/CM? A rigidbody is flopping over in turns...
View ArticleAny networking examples using physics engine on server?
All examples of networking I've found never use the Unity physics engine. The "server" seems to just relay messages around like Photon. I want one master to run the simulation and update clients with...
View Articledata shared between scenes cannot be used in inspector?
I'm use to binding/drag and drop my Model data to my Views in the inspector. For game state data you can't since the common solution to a Singleton is new GameObject() at runtime. public class MyClass...
View ArticleCannot obfuscate class inherited by MonoBehavior
Hi All, Been trying out apps that claim to obfuscate Unity builds. Latest one would not change class or method names for any class extending MonoBehavior. Author of app claims Unity will break. Anybody...
View Articleany tool to obfuscate source code not assemblies?
Hi All, I see plenty of reference to obfuscating the .NET assemblies. But won't do classes with Monobehavior superclass. Then have to find yet another obfuscator for android builds? Idea is to...
View ArticleTextures get larger in Android build
Hi All, We are new to porting to Android. We have Unity Pro and basic Android. We have hit the 50 meg file limit. The textures get larger when compressed? Is there a setting we are missing?...
View ArticleReflection in water is pixelated
Hi All, The reflection in a water plane is pixelated. I've used several assets and they all have same problems. Attached screen capture.![alt text][1] [1]: /storage/temp/41542-pixellatedreflection02.jpg
View ArticlePolygons flickering for distant objects
Hi All, Polygons appear to flicker or flash on distant objects. My take is the drawing order messing up? Sometimes it switches between the backside and forward facing polygons. They are different...
View Article