Is it possible to remove an animation from a prefab?
I DL'd an animation from the asset store and it came with a model, now i was wondering if i can just separate the animation clip only. I'm doing this for organizational purposes, and also, all i need...
View ArticleSaving a generated mesh as asset
I've created my own simple voxel (cubical kind) editor and this re-generates the mesh every time I add or remove a cube. What I'd like to do is save this mesh as an asset as I test play the scene. I've...
View ArticleWorldToScreenPoint in Update/OnGUI: Bad Performance
Hey all, I have a simple script which takes the position of the current game object and overlays a 2D texture in its Screen point position. The issue I am having is it is chewing the main thread! I'm...
View ArticleCreate a Scene in editor via script?
Hey, I want to create a leveleditor for my 2D game to let others help me getting levels. Now I thought about making a scene with all elements and save the positions a player is dragging the sprites to....
View Articlehow to checking If texture is in use in hierarchy
Hi guys i am writing a editor script for discarding unused textures from the project folder Or save unused textures to another folder so My question is that is their a way to check that a particular...
View ArticleiOS game development
I have had this idea for a long time now, I would really love to develop a RPG Pokemon like game for iPhone but I seriously have no clue on what to do or where to start. I have had a look at Xcode and...
View ArticleWhy does rigidbodies lag behind when connected to kinematic rigidbodies?
The title says it. When I attach a rigidbody to a kinematic rigidbody with a joint inside a vehicle, it lags behind when I drive the vehicle forwards. Why does it do this? Here is a picture showing it,...
View Articlescrubbing through movie
hi just wondering whether this is possible and the best way to go about it. i have a high poly city scene which i cant import into unity as it will be too heavy on memory when run on an IOS device. if...
View ArticlePlayer boundaries
How do I make a wall that a regular ray cast(gunshot) can go through but the player can not. I know how to delete the mesh renderer but I want only raycasts to go through the walls colliders.
View ArticleWhy does rigidbody rotate randomly on its own?
I don't know if this question is asking too much but I have a bike using sphere colliders on the wheels and a rigidbody for the parent object of the entire model. My issue is that after the bike goes...
View ArticleArbitrary rotation around a point works except when up flips?
I've been working on the ability to rotate my camera around an arbitrary point based on mouse movement and have it working great except when it crosses the top/bottom of an axis. The code for moving...
View ArticlePreventing a grenade from colliding with its thrower
I am trying to make my player throw a grenade. The problem is that sometimes the grenade collides with the player and hence doesn't take the expected trajectory. I tried to solve the problem by...
View ArticleBlurriness in published file
Hi, In the published game I am seeing blurriness at a small distance from camera. I have even checked near and far camera clippings. Can someone help.
View ArticleEclipse integrated Game crashes when pressed power button and returned back.
Hello everyone, I am pressing Home button or Power button while game playing, and Unity is succesfully calling OnApplicationPause(). I am exporting my game as an eclipse project (applying facebook...
View ArticleBest way to show an image
Im making a slot machine and I want to display the simbols of the slots. How's the best way to show the images without using any plugin like 2D Toolkit? By now Im loading the images as Texture2D and...
View ArticlePercistent data between editor and game
Hi, I'm writing a plugin and the C++ side loads a lot of data and communicates that to unity. It works fine in the game but now we also want it to work inside the editor. Problem is that when we start...
View ArticleWalls are blending over each other
Hi, i can't really find the words for my problem, since english is not my first language. But you can see my Problem very well on this screenshot: http://i.imgur.com/Z4W5XlY.png I have cubes as walls,...
View ArticleProblem with Scoring System
I am trying to create a game in which I have different balls falling from a defined point and i have to click and destroy the ball and on each clicking a ball provides me some point.I have generated a...
View ArticlePixel-art styled line generation.
Hey there, I'm working on a 2D game using pixel art style. I chose to use 2D Toolkit. The pixel art style requires to display fake big pixel on a pixel grid then everything will look aligned. To...
View ArticleChange texture in runtime by type a word
Hello, i am just a beginer with Unity. I am working in "English for kid" project that require player input words to see things happen. For example: Player type "Tiger" in GUI, my game Object change...
View Article