Answer by Kerihobo
I know this question is old, but I thought I'd share my fix. I had 80 animated characters all with the same 5 animations, though some of them were named differently because it would be the walk cycle...
View ArticleAnswer by Kerihobo
i had the same problem. What was more confusing is that the particle system that wasn't working was duplicated from one that WAS working. I logged .isPlaying before/after .Play(). it logged false. it...
View ArticleAnswer by Kerihobo
For me, the problem was that I had somehow ended up with a second reflection camera in my scene, deleting any associated cameras worked, because the scripts for water4 generate their own cameras in the...
View ArticleAnswer by Kerihobo
you can actually type "infinity" into their lifetime, it will display as a number, but in actual fact your particles will never die.
View ArticleAnswer by Kerihobo
I'm part-way through achieving this myself at the moment. I took care of the rope-attaching by applying a distance collider to my player, with the segment of rope's rigid body as my connected body......
View ArticleAnswer by Kerihobo
Sorry, I know this is old, but can you simply say foreach (Transform t in someTransform) { if (t.parent == someTransform) { Debug.Log(t); } }
View ArticleAnswer by Kerihobo
There is OnDestroy() which might work, because all objects are destroyed when you leave a scene.
View ArticleAnswer by Kerihobo
it does not matter, just learn one of the software and get good with it. the results will be your own doing, not the software's.
View ArticleAnswer by Kerihobo
you may be able to do it this way: http://docs.unity3d.com/Documentation/Components/class-Projector.html use a texture that matches the type of specular you want, now you just need to find a way to...
View ArticleAnswer by Kerihobo
im not sure the GameObject.Find is needed, unless this is going on to an object that isn't music switch. Just try guiTexture.texture = whatever; that should refer to the guiTexture component upon the...
View ArticleAnswer by Kerihobo
you could also remove the part where you change the audio clip and just use audio.PlayOneShot(gravel[Random.Range(0,gravel.length)]); 2 lines. just fyi
View ArticleAnswer by Kerihobo
if you have a characterController component, you can use controller.move(moveDirection * Time.deltaTime); where moveDirection is a variable you declared storing a vector3. (X, Y, Z) <--- 3 vectors....
View ArticleAnswer by Kerihobo
I am GUESSING... I havnt tested this, sue me if it doesn't work. currentSide.GetComponent().UpdateTexture(0); could probably be: BlockScript blockscript = YourGameObject.GetComponent(); After that you...
View ArticleAnswer by Kerihobo
hey cheers for reply, I did a bit more investigation and unfortunately I wasn't able to find a solution for the problem in Maya, but I did find a solution in Unity. You can tell unity to either import...
View ArticleAnswer by Kerihobo
I had the same problem, it worked for me but it seems to only work if i first check .isplaying or !.isplaying first, and then inside that block i use .Play or .Stop
View ArticleAnswer by Kerihobo
I would be worried that when I ever get stuck in Boo, there would be limited assistance available for me. tonnes of JS/C# ppl to grab knowledge from.
View ArticleAnswer by Kerihobo
Does your NPC have an animation component? I think it needs one if you're using animation.play or .crossfade. It must have those animations attached to it.
View Article