unity3d

2 questions regarding Unity3d

Hi I am thinking of getting Unity3d indie. Anyone know if Unity Indie version comes with full source code and about their licenses (how flexible compare to Torque engine.) Thanks! ...

How can I look through my camera in the Scene view in Unity3D?

Without going to game view. Is this even possible? ...

What will be in C#'s future in 10 years?

I thought I'd be learning C++ at University, but it seems that they've now dubbed C# as an industry standard language. I never thought I'd bother with it, but it's actually a very nice language. The only problem I have right now is that I'm limited to the Windows platform. So maybe, when I write Windows programs from now on, I should ...

Problem using Raycast

Hi, i'm trying to use the Physics.Raycast method, but I get errors saying:The best overloaded method match for 'UnityEngine.Physics.Raycast(UnityEngine.Vector3, UnityEngine.Vector3, float, int)' has some invalid arguments. It's strange because both itellisense and the documentation tell me that this is permitted: RaycastHit hit = new R...

Random 2d movement (similar to flies) in Unity3d

I want to add random movement to some of my game objects similar to the way flies swarm in Unity3D. I've developed a method using the addforce() method but would like to bypass the physics engine. Any help is appriciated ...

Bitmap compare method on the iPhone (unity3d)

Hi. What would be the best method to compare 2 bitmaps and get the correlation between the 2 (0 being completely different and 1 being exactly the same) in Unity3d on the iPhone? I am using C# since documentation says that using Boo or UnityScript will increase the size of the application. What I need is something similar to the fingerp...

Typical iPhone game project length with Unity3D

I am an experienced video-slot type game developer. There is a small gaming company who wants to try their luck with an iPhone game, and they want me to work on it. They want to know how long it would take me to develop a game using Unity3D, given that they provide all the graphics and game rules. I don't have any experience with Unity3D...

Game development with XNA or Unity3d

What can make a game developer to choose between XNA or Unity 3d as game development platform and what are the pros and cons of choose each one? ...

First Person Controller problem

i m new use of unity3d softwere. i am facing a problem with First Person Controller. how to control this.. please reply... ...

I'm confused about some Reflection code, and looking for insight.

I'm developing for the iPhone using C# and Mono's Full AOT technology. According to their Limitations page (link text), unlike traditional Mono/.NET, code on the iPhone is statically compiled ahead of time instead of being compiled on demand by a JIT compiler. When running on the hardware, the following exception occurs: ExecutionEngin...

How to Serialize to XML containing attributes in .NET?

I have that code: ... request data = new request(); data.username = formNick; xml = data.Serialize(); ... [System.Serializable] public class request { public string username; public string password; static XmlSerializer serializer = new XmlSerializer(typeof(request)); public string Serialize() { Strin...

Determing object location in Unity 3D.

Hey guys, I've been learning Unity 3D, slowly. I'm trying to make a maze, and need an event to occur when they reach the finish area. How do I fetch object location and check if it's in the target area? Using Javascript. Thanks for any help! ...

game development xna/unity3d

hi,i am want to build some games,not something big like mmorpg ,games like snake and similar,maybe in future i would like to make a progress. i built "pong" with xna before 3 month and left it without any progression. now i want program games again and i search on the internet and got to 2 final best options xna/unity3d. which is better ...

3D Sphereical Terrain with an 8 mesh sphere. The edges of the mesh are obvioulsy seen and I'm not sure why.

Hi :) I'm working in Unity3D, but my issue is with 3D meshes. I'm hoping someone here can help or point me in the right direction. I have 2 version of code, http://www.pasteit4me.com/695002 (old) and http://www.pasteit4me.com/690003 (new). The old code, makes a single mesh sphere and creates a terrain on it. The new code makes an 8...

How do I send an HTTP request in C# without using System.Net classes?

Is there a way in C#, perhaps using an external library of some kind, to perform HTTP web requests without using the built-in .NET classes (HttpRequest, WebRequest, WebClient...) ? I ask because I'm working on a game in the Unity3D engine, which allows you to use most of .NET through Mono. However, the System.Net namespace isn't support...

How can I search a .txt file for a keyword in Javascript?

What's the correct syntax to search a .txt file for a keyword in JavaScript? EDIT: I'm working with a subset of JavaScript called UnityScript in a program called Unity3D. It outputs .exe programs. Here's an example of UnityScript: import System.IO; function ReadFile () { var sr = new StreamReader(Application.dataPath + "/" + readF...

Shiva3D vs Unity 3D vs other 3d engine for iPhone hi-res 3d model viewer

I'm trying to port to the iPhone a realtime 3D visualization (be able to rotate and/or zoom in/out) of a 3d mesh with high-resolution textures (and hopefully materials, bump maps, shadows, and other degrees of realism). (The mesh itself has been optimized for lowpoly, but texture adds the details.) All I need is basically a model viewer...

How does this function work in detail?

I got this method (inside a Unity C# Script), but I do not understand how the "yield" part actually works. I know from the MSDN that the function will return an IEnumerator which I could iterate throught, but this code waits 1,5 seconds and does not get iterated because this would mean, the objects created inside were created multiple t...

Image gallery in UNITY3D

Is it possible to create an Image gallery similar to this : http://www.west-wind.com/rick/photoalbum/demoMaui2006/Default.aspx?Admin=true using Unity3d. I know it is possible to click, drag images and save them using jQuery. But is there a way to create images dynamically in Unity3d and then load, move, drag and save them? If that sound...

Unity3D :Instantiate?

How do you create a copy of an object upon mouse click in Unity3D? And also, how could I select the object to be cloned during runtime? (mouse selection preferable) Thanks in advance ...