Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live
↧

how to make texture transparent

I'm trying to apply a texture of leaf which is in RGB format. the area outside of the actual leaf shape in the texture is black(0, 0, 0). Does anyone how to make those black area be renderd...

View Article


Particle memory overhead

So im using this script to move all particles to a spot. But when i have many particles(500 - 1000) i have massive memory overhead.Without this script it dont lags. How can i move particles to the spot...

View Article


On time slow down only player enable to move

hi, i am using to Time.timeScale for slowing down time by pressing "t". I am getting everything slowed down including the player. Is there anyway to slow down everything except the player. here is my...

View Article

Opening App Store as pop up window

Hi, I would like to open a popup window showing a specific (mine) app store app. Specifically, I want it so I can point users to Rate This App. * I do **not** want to have standard modal dialog for...

View Article

Player touch item?

I need a Javascript... When a player touch the cube, then scene 1 will load... I have this found on Internet: Application.LoadLevel ("HighScore"); But what's next? I'm pretty bad in Javascript. Thanks

View Article


Capsule Cast Direction Help

Forgive me but new guys are known to ask dum questions... static function CapsuleCast(point1: Vector3, point2: Vector3, radius: float, direction: Vector3): bool isnt the capsule sweep always from point...

View Article

How do I prevent Unity overshooting graph curves?

When reading an fbx animation that has been exported from Maya, Unity doesn't read the curve interpolation correctly. It seems to overshoot the curve which gives incorrect result when playbacking in...

View Article

How to add resources to an existing android game

I want to design a game for Android. I want to start with a small game and after the player finishes the basic levels he/she could download more assets/resources. For example png files, mp3 files, new...

View Article


Problem with Autodestruct particles

I have an explosion effect - it is set to one-shot autodestruct (Legacy particles). All works as expected except the particles get destroyed too early, before they have faded out (as per the max energy...

View Article


Spherical windzone and particle effects

Hi, I just added a spherical windzone to a chopper in a project I'm working on in order to test whether I could simulate the rotor turbulence and to my surprise, it actually worked quite well at first...

View Article

GetPixel() returns blank texture

Hey. I'm attempting to write a pixel-based font renderer, so I can pass in font textures and draw them to the screen. I'm currently attempting to automatically calculate kerning values, based on the...

View Article

is there a way to replace script-made object to a custom one?

ok so this may be a weird question. but so far i have a script that places a circular plane around a ball when the mouse is held down on the ball, this plane indicates the range available so when the...

View Article

Script not applying to imported Blender Model

Go easy on me, I have only been working in unity for a couple weeks now. I have it where when a game object has a script I made applied to it, the object can be attacked then destroyed. This works. So...

View Article


2D Infinite Runner changes different on unity simulator and iPad

Hello, I am new to unity. I downloaded the 2D Infinite Runner Toolkit from the asset store to get started. I made some modifications to the background and to the particles, but my changes are not...

View Article

Prefab connection with the original 3d model file

I have made a prefab out of a maya file(.mb), and i instantiate the prefab in runtime. I want to know that if i change the maya file will the prefab be affected? Yesterday i may have changed my maya...

View Article


Enable/Disable Box Bounds

I have an airplane, and a Large cube. The airplane is inside the cube. I am looking for a script that disables the airplane controller script when you fly outside the cube. Causing it to dead-fall...

View Article

How to debug this shopkeeper script ?

Hello, I am making a RPG game but as I am new to unity then I stumbled on a problem that I cannot figure out myself. I made a shopkeeper script that would work for many shopkeepers. The problem is that...

View Article


How to know whether it is android tab or android phone or kindle tab?

is there any way in unity to know whether it is android tab or android phone or kindle tab? i know the ` DisplayMetrics metrics = new DisplayMetrics();...

View Article

What kind of datatype is a CollisionEvent?

On [this page in the manual][1], it says to pass a data type "CollisionEvent[]" to ParticleSystem.GetCollisionEvents, but since that isn't a real data type, what am i supposed to pass? An array of...

View Article

Problem with SetLookAtPosition()

Hi everyone, I'm having a problem getting the `SetLookAtPosition()` function to work correctly. I've looked at other threads but I cannot find anything similar to this problem. I have provided a...

View Article
Browsing all 171066 articles
Browse latest View live


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