Quantcast
Channel: Questions in topic: "attach"
Browsing all 168 articles
Browse latest View live
↧

Nav Mesh agent problem / Player can not get away from enemy ai nav mesh agent...

I have a nav mesh attach to the enemy ai . The problem is when the player enter the nav mesh agent radius and enemy ai stays on the player and it hard for the player to get away from the enemy ai ....

View Article


Attaching script to object during runtime doesn't work. New to unity3d. What...

Hi! I looked in the forums as well, and all they really say is use the GameObject.AddComponent API, but well, that doesn't seem to work. Here's my code (C#): GameObject someGameObject =...

View Article


user controlled objects automatically moving left in game

Hey guys i am new to this unity game dev stuff and i started working on a first person shooter i almost got the environment right but when i start the game the fps controller automatically starts...

View Article

Question about animation

Hi! I downloaded an animation because it is VERY smooth and i am also a HORRIBLE animator, so this was the only option. I could have made an animation myself but it would literally took weeks... But...

View Article

Applying Scripts held in a list to a game object

Hello all, This may be the simplest thing in the world but, I currently have a list containing a series of scripts that the user has plugged in at the front end of my program, just like you can do with...

View Article


Use mouse in a mobile game

Hi I have a game that works fine on my android device It is a tanks game, I can move the tank using a virtual joystick and shoot using a button in a canvas the thing is, I want to make my game works on...

View Article

Attach draggable sphere to camera when touched

Hello community Im currently working on a university project with unity... We have a 360 degree image mapped on a sphere (when you are in the sphere with the camera you can see the image of the room)....

View Article

How can I attach objects like a picture?

I wanna attach an object to another like a picture, when I drag an object near another. I searched and found some information. ex) obj1.transform.parent = obj2.transform; obj1.transform.localPosition =...

View Article


Make sure file name and class name match

I'm fairly new at Unity, (and by fairly new I mean *VERY* new) and I got this error when writing the script for a... um... thing named Health_box. When I got the error, I changed the line to "public...

View Article


Attaching 2 rigidbodies,

I need to attach 2 rigidbodies together. I found another question in the forum but it didn't really solve all my doubts. This is the code written by @SpacePilot1000 // Disable collisions with the...

View Article

Android attach debugging is always fail in MonoDevelop or UnitVS

I follow this Unity VS: http://sebastien.lebreton.free.fr/blog/index.php?/archives/53-Debugging-an-Unity-Game-under-Android-using-Visual-Studio-and-UnityVS.html Mono Develop:...

View Article

Unity Attach is gone!

Recently I updated my Visual Studio to Visual Studio 2017 and I also updated my Unity to 5.6. Right now, in Visual Studio the button for "Attach to Unity" is gone. Is there anyway to fix this problem?

View Article

How to attach one object to another without parent-child relationship?

Hi, As part of a project I'm doing, I need to model a ball with three accelerometers attached to it in Unity. To do this I've created a sphere that can be controlled through keyboard input, and...

View Article


Visual Studio won't attach to Unity, even after Vs Tools for Unity update

Hey guys, I have a problem that's been posted on here quite a lot, but mine has bit of a twist. I have 2 versions of Unity installed on my laptop: 5.5.0f3, which I use for most projects, as well as...

View Article

Failed to Android Debug on Mac

I can use Unity to build and deploy my app to Android device, I'd followed all the tutorials to do the debug, and it works before, but now I'm not able to "Attach Process" to Android device, is there...

View Article


Help with snapping and "gluing" parts together

Hopefully you guys can help me out, I've been stuck on this issue for a lot longer than I'd like to admit. I'm building a VR freeform Block Building game (basically a VR Lego freebuild game) and I need...

View Article

get child and assign it to a transfrom variable.

hello all thanks in advance, here we go: i have a ship, with a child object as the "Gun Tip", i instantiated this ship after the "ship selection menu". after the instantiation i assign it a script with...

View Article


Problem attaching cloth to gameobject

Hi! I'm trying to attach cloth to my dagger gameobject for getting the cloth move when the dagger is thrown, simulating some kind of ornament. The problem is that the cloth keeps his position far away...

View Article

Attaching animation clip in Motion of state in animator?

Hi there, I opened window of animation and I made two new __animation clips__ (for idle and move)(by clicking in this window to create new animation clip) for my player and I wanted to script it like...

View Article

How to place my own UI Image?

Hi, I wanted to make UI Image but I downloaded an image .png from google and I can't attach it to my UI Image. I noticed it has to be "sprite" and I created in a folder new sprite but I don't see...

View Article
Browsing all 168 articles
Browse latest View live


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