Quantcast
Channel: Answers by "Graham-Dunnett"
Browsing all 959 articles
Browse latest View live
↧

Answer by Graham Dunnett

Unity 4.3 has the following architecture options for the Windows target platform: 1. x86 2. x86_64 (1) is the 32-bit version.

View Article


Answer by Graham Dunnett

See the example for [`LineRenderer.SetVertexCount`][1] which shows how to draw 20 lines. [1]: http://docs.unity3d.com/Documentation/ScriptReference/LineRenderer.SetVertexCount.html

View Article


Answer by Graham Dunnett

Your variable `health` hasn't been typed. You are using it like a number, but `GUI.Label` expects a string.

View Article

Answer by Graham Dunnett

Look at the last example on the documentation page: http://docs.unity3d.com/Documentation/ScriptReference/Input.GetTouch.html All scripting in Unity can be performed with JS, c# or boo.

View Article

Answer by Graham Dunnett

Missing closing brace on line 75. Learn how to use the `Debug.Log()` statement. ;-)

View Article


Answer by Graham Dunnett

1. Yes, see http://docs.unity3d.com/Documentation/Manual/UnityWebPlayerandbrowsercommunication.html. 2. Yes. 3. The scripts are inside the unity3d file. The unity run time can access them.

View Article

Answer by Graham Dunnett

Track the movement of the finger on the touch pad. This will allow you to work out the direction of the swipe. Convert that (2d) direction vector into a 3d direction vector and apply the force in that...

View Article

Answer by Graham Dunnett

Because textures are assets that need to appear in the Unity assets folder hierarchy. This page: http://docs.unity3d.com/Documentation/Components/class-Mesh.html describes how to set up your textures...

View Article


Answer by Graham Dunnett

See: http://docs.unity3d.com/Documentation/ScriptReference/Input.GetKey.html This tells you that `GetKey()` returns a `bool`. The compiler is telling you that this `bool` cannot be converted into a...

View Article


Answer by Graham Dunnett

If you need the web player code on B to use sockets, then it needs to connect on port 843 to a server running on A. See the sandbox page:...

View Article

Answer by Graham Dunnett

Use the content on the Learn section. It'll be 3D-focuses but will help you get up to speed.

View Article

Answer by Graham Dunnett

Use the rotation of the cube. If the rotation around y is 0, then face 0 is visible. If Rotation around y is 90 degrees, then face 1, etc.

View Article

Answer by Graham Dunnett

Write an stl exporter. Bear in mind that the web player has no access to the hard drive, so you'll need to export to a server.

View Article


Answer by Graham Dunnett

3.5.7 does not support iOS7. Just make your builds as normal, and then edit the Xcode project inside Xcode.

View Article

Answer by Graham Dunnett

Unity doesn't care what units you use are. A game all about ants might have 1 unit = 1mm, and dinosaur game might have 1 unit = 10m. A space adventure game might have 1 unit = 1 parsec. It's down to...

View Article


Answer by Graham Dunnett

http://docs.unity3d.com/Documentation/Components/FBXImporter-Model.html - search for `Scale Factor`.

View Article

Answer by Graham Dunnett

Edit->Project Settings->Editor, then, in the inspector change the Version Control Mode to Hidden Meta Files. (Note that meta files are always generated with newer versions of Unity.)

View Article


Answer by Graham Dunnett

The `(3,8)` in the middle of the bug report tells you that line 3 has the problem. You appear to be missing the `var` keyword which Javascript uses to declare variable names. Further, `GameObject` is a...

View Article

Answer by Graham Dunnett

Read: http://docs.unity3d.com/Documentation/Manual/ScriptCompileOrderFolders.html to learn how JS and c# interact.

View Article

Answer by Graham Dunnett

you need a capital `f` for your function - `FixedUpdate()`.

View Article
Browsing all 959 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>