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

Rendering Lag? Wait for the models to render?

My game has many assets and when I build and run it, I notice slight lag as it loads the level and starts up. Is there anything I can do to reduce this lag? I'm also using Photon Networking so as it...

View Article


Is there any way to use daz character in Unity?

Hi all, First of all don't bother if you are going to tell "yes, you can export model from daz studio in .fbx format, animate it and import in Unity". I already know everything about this. Thanks. I...

View Article


How can I add root motion to my Cinema 4d animations?

I have some animations set up, but the problem is, that there is no root motion and everything stays in place. How can i change that? Thank you.

View Article

Asset Store

Is it necessary to have different e-mails for the Publisher account and simple account in the Asset Store? And community account e-mail should be different from these both?

View Article

cant disable/enable scripts

private CameraFollow follow; private CameraFollow follow; private MouseLook look; // Use this for initialization void Start () { transform.parent = null; look = Camera.main.GetComponent(); follow =...

View Article


Checking boolean state using raycast

How i can check if boolean is false on a script that is on a gameobject that my raycast is pointing at? So I want to get boolean state using raycast. Raycast because I want to select exactly the right...

View Article

Get upward orientation of object and add scale value

Hey community, so i have been trying to tackle this problem which is basicly a how to question. i am trying to move an object to the edge of another object, i almost got it to work except for a 'minor'...

View Article

Shortcut to snap any object down to grid or another object

Is there any shortcut or way to snap any object down to be placed on grid lines or on top of another object ? I searched for this but could not find a solution. Thanks

View Article


Getting Debug log errors when I load my scenes

I have a class that handles loading levels randomly as illustrated by this diagram: ![alt text][1] [1]: /storage/temp/19700-loadscenes.png This is the class I created: using UnityEngine; using...

View Article


Fall detection

How do i check if my character is not on the floor, if he's falling. What i acually want to make is when i'm falling, i turn into a ragdoll, but it doesen't matter i can make that work, but i want to...

View Article

Assign an object to a component in editor programmatically

Good day. I have fallowing object structure: ![alt text][1] [1]: http://cs14102.vk.me/c312319/v312319240/6aeb/HB20GW8KTsY.jpg The "Ship" object contains a bunch of "Subsystem" components. Three...

View Article

Chick if entered a helicopter

Hi I am working on a game, which is based on the Unity Bootcamp Demo. I have made some Helicopters, which you can use to fly. I already have made a Helicopterflyscript. Now the QUESTION: How can I send...

View Article

How to get perpendicular vector between a point and a line or a ray in unity...

How to get perpendicular vector between a point and a line or a ray in unity script?

View Article


Show GameObject name during play mode

Hi I would like to display the name of the game object above it when I click on the play button so that the player would be able to find out the name of the object. Does anyone have any idea how to do...

View Article

unity freezes when running sprinting animation

I followed the beginning of the mecanim unity tutorial and now I was trying to add a sprint animation, so that locomotion is walking and another blend tree is running. I created a new Blend tree, and a...

View Article


GUI.DrawTexture wrong on mobile build

Hello I'm rendering lines with GUI.DrawTexture script GUI.color = color; GUI.matrix = translationMatrix(dz) * GUI.matrix; GUIUtility.ScaleAroundPivot(new Vector2(m, width), new Vector3(-0.5f, 0, 0));...

View Article

Input manager dialog box, how to customize an image there?

Hi, I saw the chapter "input" in unity manual section and there is a picture of the input manager with a cool image in there: http://docs.unity3d.com/Documentation/Images/manual/Input-0.jpg how can I...

View Article


how do i stop an animation looping?

I want to make a first person game where you swing a sword. I've made the animation for the sword swinging but when I press play it automatically starts looping. this is my code: '#pragma strict...

View Article

how to control the character speed

## how to control the character speed ## `function get_touch() { if ((Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Moved)) { //var touchDeltaPosition:Vector2 =...

View Article

Transferring velocity?

How can I transfer the velocity of a GameObject that has a RigidBody to the Player that has a Rigidbody and a CharacterController btw I'm using the [FPSWalker Enhanced][1] script? I've tried using this...

View Article
Browsing all 171066 articles
Browse latest View live


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