Answer by alee26
maybe the game engine can't convert the numbers, try like 10f... Bad english, sorry.
View ArticleAnswer by alee26
using UnityEngine; using System.Collections; [RequireComponent (typeof (Drivetrain))] public class CarController : MonoBehaviour { public Wheel[] wheels; public Transform centerOfMass; public float...
View ArticleAnswer by alee26
The solution has two case. First is, if you need a joint in a triggered condition else then collision, define the condition separately (like closing objects coordinates). Second, if you need the joint...
View ArticleAnswer by alee26
The answer is here: first define all the coordinates of objects and distances to each other. Then use Update() function not the OnColissionEnter/Stay. Define the scripts settings seperately (sample...
View ArticleAnswer by alee26
I suggest you try something to learn the basics of Unity. For example a simple car or character project fits you. There ara tutoriols on the Unity website. You can look at them. They are good for...
View ArticleAnswer by alee26
I suggest you to use GUI.SelectionGrid instead of toggle. Here is the documentation page: http://docs.unity3d.com/Documentation/ScriptReference/GUI.SelectionGrid.html EDIT: I found two more sample code...
View ArticleAnswer by alee26
As i know on pc, the texture size is dependent on the DirectX and OGL version. Again as i know for example DX 10 handles 4096x4096px textures. And the answer of how many textures can you use is, as...
View ArticleAnswer by alee26
No its not necessary. You can bake them after importing to Unity. Just look the import settigns of the meshes and unity will calculate the lightmapping.
View ArticleAnswer by alee26
maybe if you use else if statement at the sphere touch, it maybe fixed
View ArticleAnswer by alee26
maybe the game engine can't convert the numbers, try like 10f... Bad english, sorry.
View ArticleAnswer by alee26
using UnityEngine; using System.Collections; [RequireComponent (typeof (Drivetrain))] public class CarController : MonoBehaviour { public Wheel[] wheels; public Transform centerOfMass; public float...
View ArticleAnswer by alee26
The solution has two case. First is, if you need a joint in a triggered condition else then collision, define the condition separately (like closing objects coordinates). Second, if you need the joint...
View ArticleAnswer by alee26
The answer is here: first define all the coordinates of objects and distances to each other. Then use Update() function not the OnColissionEnter/Stay. Define the scripts settings seperately (sample...
View ArticleAnswer by alee26
I suggest you to use GUI.SelectionGrid instead of toggle. Here is the documentation page: http://docs.unity3d.com/Documentation/ScriptReference/GUI.SelectionGrid.html EDIT: I found two more sample code...
View ArticleAnswer by alee26
As i know on pc, the texture size is dependent on the DirectX and OGL version. Again as i know for example DX 10 handles 4096x4096px textures. And the answer of how many textures can you use is, as...
View ArticleAnswer by alee26
No its not necessary. You can bake them after importing to Unity. Just look the import settigns of the meshes and unity will calculate the lightmapping.
View ArticleAnswer by alee26
maybe if you use else if statement at the sphere touch, it maybe fixed
View Article