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

Is there a way to decompress a unity asset bundle >

I was trying to import an assetbundle (downloaded from internet somewhere) , now what i have is a asset bundle along with the content list as json files along with them, now is there any way i can edit...

View Article


Jiggle bones not working correctly.

So, I'm trying to create hair movements using jiggle bones (since Unity's cloth engine seems to be irreparably broken). I'm following the steps found [here][1], but the bones aren't working correctly....

View Article


Strange behaviour when WheelColliders are on their side.

I am currently doing some tests with WheelColliders and have made a basic driving script which works as expected. The problem occurs when I flip the car; when on its side, the car starts gyrating and...

View Article

stick my character to sloped terrain

i have a sloped terrain, like mountains and a character with 1)rigibody attach to it.(gravity enabled) 2)i m translating the character in x axis with code rigidbody.velocity.x = speed. now my question...

View Article

Network Help.

In my network(Lan) game i have a moving, controllable ship and the players moving on that but the player who connect to the match quakes on the ship.Only the host not quakes. Ship Move script: #pragma...

View Article


Android Shadows not visible

Hello. In editor Unity I create Directional Light with real time shadows. In editor is visible but when I export is in .apk and I run it, Shadows is not visible. Any ideas? Thanks for advance ;)

View Article

Parenting single transform attribute with offset?

I want the parent/link the transforms of two objects in one axis only with an ability to add an offset. Similar to how you can set a Point Constraint to a single axis in Maya. I have tried parenting...

View Article

Problem when building/signing .apk

Hi. When I build my .apk from Unity I get this error: jarsigner: unable to read password I have downgraded to JDK 1.6 but it still doesn't work.. Thanks, Andreas. EDIT: It does build the .apk, but it...

View Article


Enemy AI help

I have a script for Enemy AI that works good but there are parts that is missing. The script has "when player is in front of enemy run and attack" this is great. But I need the enemy to have a maximum...

View Article


create string array from xml

i need to create an array of strings from an xml file on a server: IEnumerator Start(){ //load xml from server string XMLFile = "http://www.sblinko.com/store/index.php?controller=categories"; WWW www =...

View Article

Adding an item to a Generic List copies the old one

Hi, I have a public List containing a pair of information: public List targets = new List(); The subclass for the EntityMethodPair class looks like this: public class EntityMethodPair { public Entity...

View Article

Does the Free shadows in 4.2 work for Android?

I have been trying to get shadows to work on Android devices with the Unity3d 4.2 free shadows. It works fine in the editor, and I have set my quality settings for Android. I have also tried on several...

View Article

Another Raycast Issue.

This is related to my previous question. This time the problem is that the raycast is not working well, not that it isn't working. I tried many things but I just can't get it right. The problem: Even...

View Article


Networking dupplicate processing of components

Hey all, I'm currently implementing multiplayer in my game. I have a server game and a client game which are both identical except that one initializes the server and the other connects to it. I...

View Article

Vector3.Distance between camera and raycasthit

Hi, I'm trying to calculate the distance between player camera transform and raycasthit transform, everything seems okay but i get loop of infinite errors. float distance = Vector3.Distance...

View Article


How to create anim clips with the same name

Ive got multiple characters in the scene, I want them to have the same animation clip names, so that I can refer to them easily using the same script attached to all characters. i.e. each character...

View Article

Unity Raycast Script, Help!

Hi. My problem is that: I create this script: var blue : GameObject; static var mozna : boolean = false; static var moznaa : boolean = false; function Update () { var hit : RaycastHit;...

View Article


C# CharacterController.SimpleMove Goes on Forever

Hi everyone, I'm having a bit of trouble with CharacterController.SimpleMove . It goes on Forever and I'm trying to come up with an if statement to stop it. But I'm having a hard time coming up with...

View Article

C# Camera.main.ScreenPointToRay on android

I need to convert this from Javacript to C#, but it doesn't seem to work... var ray = Camera.main.ScreenPointToRay(Input.mousePosition); if (Input.GetMouseButtonDown (0)) { if (Physics.Raycast (ray,...

View Article

Setting Quaternion , are Euler angles updated in the same update function?

I am setting a Quaternion in update function and i want to restrict it's rotation in Y-axis by accessing the Euler Angles. This seems to pe producing random results. Will the Euler angles be updated...

View Article
Browsing all 171066 articles
Browse latest View live


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