Quantcast
Channel: Latest Questions by timrox99
Browsing all 14 articles
Browse latest View live

Problem with animation.

Ok so I have made and animation in unity 4.5.4 and I cant seem to stop it from looping when I press play. Any help will be appreciated.

View Article



The AnimationClip 'Attack' used by the Animation component 'Knife' must be...

So yeah, help would be appreciated. This is my script: #pragma strict var TheDammage : int = 50; var Distance : float; var MaxDistance : float = 1.5; function Update () { if...

View Article

How can I teleport objects.

Hey, so I thought it would be meaningless to post such a short and easy script so I thought I might as well just ask the question. Call me noob, but is there a way I can get my character controller to...

View Article

I'm trying to teleport an object. But keep failing.

So I am really newbie at unity at the moment and I do believe this script would work if it wasn't written by me. I am trying to teleport my First person controller to x=10 y=3 z=-8. I have three errors...

View Article

No appropriate version of 'UnityEngine.AudioSource.Play' for the argument...

So I cant seem to get this simple script working. I have made a box collider that is trigger and added an audio source with the sound: DogeBark inside it. This is my script: #pragma strict var doge :...

View Article


How to restart scene properly

Hey. So I know that I could simply restart my scene by getting the name of the scene and putting it in some script, but I want to use a script that will work on multiple scenes that checks the current...

View Article

How to destroy and trigger on enter.

So I'm working on a game and it has a properly operating currency system. I am trying to make a trigger destroy when the player enters with a certain amount of coins. I have made a static var called...

View Article

Problem with animation.

Ok so I have made and animation in unity 4.5.4 and I cant seem to stop it from looping when I press play. Any help will be appreciated.

View Article


The AnimationClip 'Attack' used by the Animation component 'Knife' must be...

So yeah, help would be appreciated. This is my script: #pragma strict var TheDammage : int = 50; var Distance : float; var MaxDistance : float = 1.5; function Update () { if...

View Article


How can I teleport objects.

Hey, so I thought it would be meaningless to post such a short and easy script so I thought I might as well just ask the question. Call me noob, but is there a way I can get my character controller to...

View Article

I'm trying to teleport an object. But keep failing.

So I am really newbie at unity at the moment and I do believe this script would work if it wasn't written by me. I am trying to teleport my First person controller to x=10 y=3 z=-8. I have three errors...

View Article

No appropriate version of 'UnityEngine.AudioSource.Play' for the argument...

So I cant seem to get this simple script working. I have made a box collider that is trigger and added an audio source with the sound: DogeBark inside it. This is my script: #pragma strict var doge :...

View Article

How to restart scene properly

Hey. So I know that I could simply restart my scene by getting the name of the scene and putting it in some script, but I want to use a script that will work on multiple scenes that checks the current...

View Article


How to destroy and trigger on enter.

So I'm working on a game and it has a properly operating currency system. I am trying to make a trigger destroy when the player enters with a certain amount of coins. I have made a static var called...

View Article
Browsing all 14 articles
Browse latest View live




Latest Images