Quantcast
Channel: Latest Questions by levoTNTO
Browsing all 38 articles
Browse latest View live

After hit keep moving backwards(wheelcolliders)

Greetings everyone! I've created a world like Mario Galaxy. You can walk around the world without falling off. First I've used a box collider. This did not work properly as I am constantly pulling to...

View Article



How to add a "Enter" (\n) into a file

Greetings, I am having the following issue. Let me explain it by using my code(assuming the variables are assigned and working): System.IO.File.AppendAllText(Application.dataPath + "/Highscore.txt",...

View Article

transform.rotation = Quaternion.Lerp time set to 0 but still moves?

Hello everyone. I am having an issue with `transform.rotation = Quaternion.Lerp( currentRotation,endRotation.rotation, delta); ` When I set it to 0 in an other script it's still moving here is my code...

View Article

[VIDEO]how to collision.transform.parent = transform.position ?(Parenting)

Hello, I am struggling getting this to work. I want it like this: [Youtube video here][1] As you can see it is working, however, I dont want `tranform.scale` to go scale with the object. Only the...

View Article

ArrayLists giving wrong information? C#

Hello there, I am trying to make an Dialogue system(I dont want to use any plugins as this is a learning procces for me). But the ArrayLists are giving me other information then expected. This is my...

View Article


[SCREENSHOTS]Animation exports wrong on android!

Greetings We've animated a Hamster. The animation is displaying good in the Unity Editor. However, when the game is exported to my phone(Android) the animation is wrong. Please see the images down...

View Article

Vector3.lerp teleporting instead of lerp?

I have some clouds in my game wich i want to move left and right. I have the following code: private Vector3 startPos; private Vector3 endPos; void Start () { startPos = transform.position; endPos =...

View Article

how to destroy game objects with a raycast and health?

Hello everyone. I am having trouble destroying a gameobject with health throught a raycast. I can destroy the game object directly after a touch. But I want the gameobject to have health. How can I...

View Article


Merging androidManifest.xml?

Hello, I am want to use multiple plugins for Unity android. However, the problem is. How can I merge the AndroidManifest files? I've found some answers but its still not clear to me:...

View Article


Stop a ball(GameObject) from rotating(bowling game)

Hi, I am making a little bowling game. When I reset the bowlingball's position. The ball still rotates. I know I can use `rigidbody.velocity = Vector3.zero;` to make it stop moving. So I guess there...

View Article

Disable GUI buttons' click function?

Hi I am currently creating an application where I need Unity for. I have a big list of buttons. The problem is when I scroll down using my finger, and release it. It will sometimes click a button. Can...

View Article

Combine mesh causes huge memory leak, how to solve?!

Hi, I have a huge map made out of little pieces, so I'm spawning about ~20,000 simple(and all the same) objects. Obviously this isn't the ideal situation so I want to reduce the drawcalls by combining...

View Article

After hit keep moving backwards(wheelcolliders)

Greetings everyone! I've created a world like Mario Galaxy. You can walk around the world without falling off. First I've used a box collider. This did not work properly as I am constantly pulling to...

View Article


How to add a "Enter" (\n) into a file

Greetings, I am having the following issue. Let me explain it by using my code(assuming the variables are assigned and working): System.IO.File.AppendAllText(Application.dataPath + "/Highscore.txt",...

View Article

transform.rotation = Quaternion.Lerp time set to 0 but still moves?

Hello everyone. I am having an issue with `transform.rotation = Quaternion.Lerp( currentRotation,endRotation.rotation, delta); ` When I set it to 0 in an other script it's still moving here is my code...

View Article


[VIDEO]how to collision.transform.parent = transform.position ?(Parenting)

Hello, I am struggling getting this to work. I want it like this: [Youtube video here][1] As you can see it is working, however, I dont want `tranform.scale` to go scale with the object. Only the...

View Article

ArrayLists giving wrong information? C#

Hello there, I am trying to make an Dialogue system(I dont want to use any plugins as this is a learning procces for me). But the ArrayLists are giving me other information then expected. This is my...

View Article


[SCREENSHOTS]Animation exports wrong on android!

Greetings We've animated a Hamster. The animation is displaying good in the Unity Editor. However, when the game is exported to my phone(Android) the animation is wrong. Please see the images down...

View Article

Vector3.lerp teleporting instead of lerp?

I have some clouds in my game wich i want to move left and right. I have the following code: private Vector3 startPos; private Vector3 endPos; void Start () { startPos = transform.position; endPos =...

View Article

how to destroy game objects with a raycast and health?

Hello everyone. I am having trouble destroying a gameobject with health throught a raycast. I can destroy the game object directly after a touch. But I want the gameobject to have health. How can I...

View Article
Browsing all 38 articles
Browse latest View live




Latest Images