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

4.3 shuriken OnParticleCollision wont call despite tons of research/practice

Hello all, I have done some extensive reading on this subject, pouring through forums, unityAnswers and Googling my butt off, but I have had no success with calling OnParticleCollision for the shuriken...

View Article


Create Camera Frustrum planes for specific layer

I'm using the Wiki's http://wiki.unity3d.com/index.php/IsVisibleFrom[link text][1] method to determine whether a renderer is seen by a specific camera. However, it doesn't account for the situation...

View Article


How do I add gravity to my object, and how do I fix my network problem?

Hello, I am trying to create a small game, to start with, in Unity3D. This is supposed to be a basic game that works over a network. So far, I have my network working, and I had it where one player...

View Article

onmouseover not work

Hello people! Im from Ukraine and i not good speak to Englesh(sorry).I have object consists of different parts, for example there is a mouse object that consists of a wheel, left click, right click,...

View Article

How to make scrollview appear and disappear using a button?

I would like to have a button that, when clicked, makes a scrollview appear somewhere on the screen. Then, once another button is clicked, this scrollview disappears. I'm trying to link these buttons...

View Article


Rotated Cubes Having Issue with Collision Detection.

For a project I'm working on I've created a prototype room set up with four walls and a floor. One wall is rotated at -90 on the Y axis, another 90 on the Y axis and the floor rotated at 90 in the Y...

View Article

Lagacy animations destorted after humanoid rigging

I've recently started using Mecanim and it's working well with the included animations in the Mecanim Tutorial. However, I would like to use legacy animations (which have the Legacy option selected...

View Article

Vector not properly normalizing?

I'm making a rigidbody movement script, and I've made it so you can set forwards, backwards and strafing speeds to be different. But I have a bit of a problem, when I walk backwards and strafe I travel...

View Article


Best use cases for an observer pattern messenger system

I'm looking at implementing an observer pattern messenger/event system in my game, something like the Notification Center on the wiki, but I find myself confused when deciding what are the best use...

View Article


GUI.Label with down symbols

Good afternoon. By application programming I had a question. How to display the lower characters in one GUI.Label ()? For example, I want to see a water formula on the screen: H2O where number 2 - is...

View Article

Play animation on Game Object from script

Hi all. I have created an animation, a simple scale a position change. Now if I place that animation on my game object, the "Animator" component then gets added, at this point the animation starts...

View Article

Rotation working wonky on children of negative scale object?

So, here's the issue. I took pictures in order to better illustrate it. In order to provide animation, I have a script that changes the rotation of a gameobject using transform.LocalRotation =...

View Article

How can i make my health regenerate?

hello guys . i made this health script and i can't seem to regan health every 5 seconds. here is the script : enter code here var MaxHealth : int = 200; var CurrentHealth : int; var GUIhealth: GUIText;...

View Article


Multiple Vehicle Audiosources

Hello i am having some problem with play specific audio sources, For some reason i cannot get them to play, I have tried a number of different things but just can't crack it, public AudioSource...

View Article

Windows 8 tablet editor support?

I just purchased a Windows 8.1 tablet with full Windows (not RT), it works great but it doesn't seem to play well with the Unity Editor GUI, it is completely non responsive. I know that the Surface...

View Article


error CS8025: Parsing error (sorry)

Hello guys, I know this is a common mistake that circulates around here the more I wanted to know how to fix this script: using UnityEngine; using System.Collections; public class ControladorPersonagem...

View Article

Making player face the direction it moves (using angles).

I'm making a top-down 2D game. But I can't make my player object to rotate to the direction it's moving. void Update() { float HorizontalMove = Input.GetAxis ("Horizontal"); float VerticalMove =...

View Article


Make rigidbody ignore subobjects

Hi, I have a rigidbody with attached textmeshes and quads, and I need the rigidbody to ignore these in it's calculations and center calculation. how can I do that?

View Article

Stop animation in Animation Controller

Hi everyone... I want to stop the loop animation to only Once with the script or other way, I have 2 blocks when the first block ends (Once mode) I execute with a click to that the second start block...

View Article

How do i spawn a cube using Javascript?

Hey! Im creating a really simple enemy script where the enemy(cube) takes damage and when health reaches zero, the cube disappears! I found out you could use Destroy (gameObject), so i tried using that...

View Article
Browsing all 171066 articles
Browse latest View live


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