Multiple rotate with mouse
If mouse moves upper/lower. Camera will rotate upper and lower between limits. For example: local rotation between Vector3(+45, 0, 0) and Vector3(-40, 0, 0) If mouse moves right/left. Parent object of...
View ArticleDivided Huge Texture Shader
I have a huge sphere (you can think a planet) and 21600x10800 texture for it. (That size req because there is a zoom option) Sure i will divide that texture. But how to use? I need a shader for it....
View ArticleLoad image in runtime from jpg
If i load image to unity from jpg or png files. Image consumes great memory. And after 1.2-1.3 GB memory usage(not total ie usage) web player crashing(The content was stopped because a fatal content...
View ArticleGenerate Zones from Texture
Image enough for ask :) ![alt text][1] Working on 3D not 2D. How can i do this? Sure its will be on a mesh or generate mesh from it etc... [1]: /storage/temp/2627-question.jpg
View ArticleDynamic Pathfinding
Our world: We have meshes instead of terrain. And there is two mesh group: Land and sea. Our objects can move on only water or only land or both. We dont need collision calculation between objects. We...
View ArticleMesh from Vertices (Polygon from Spline)
I want generate a 2d polygonal area from vertice XZ coordinates. Local Y is 0. Vertices indexed like a closed spline. Spline edges do not intersecting with other edges. I need a new Triangle...
View ArticleCustom Wheel Collider Suspension
I am trying to make a Custom WheelCollider but i have a few problems.float SuspensionForce = SuspensionSpring * (m_suspensionCompression + m_suspensionCompressionPrev) / 2 + SuspensionDamper *...
View ArticleOnCollisionStay & FixedUpdate
I think i have a sync problem with OnCollisionStay & FixedUpdate. I need local contact points. I am using transform.InverseTransformPoint When i use this script on 4 moving rigid, 3 of them works...
View Article
More Pages to Explore .....