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

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


How attach C# script by argument?

I am not native, so I might write strange English. sorry. I want to attach the script chosen by argument to GameObject. Example, when argument = "test1" , I want to attach "test1.cs". when argument =...

View Article


Problem in assigning component to variable

There are two scripts A and B which extend C class and C extends MonoBehaviour and there is a G1 gameobject that has A and B scripts. And there is D script that has public C cVariable and is attached...

View Article

How to set player as 3d model

how do i set this model as player and how do i make it so that the gun next to it is in its hands all times![alt text][1] [1]: /storage/temp/107136-capture.png

View Article

Particles system animation

Hello. How can I attach particles for character's animation? (for Attack)

View Article


attached prefabs before client joins

**Hello Guys,** I try to show the problem in short sentences: - ServerPayer pickups a weapon, which is attached to his hand, works perfectly, (player and weapon prefabs are in networkmanager of course)...

View Article

Attaching an object to another within runtime

Hey to all, I'm a pretty newbie in Unity and not that familiar with C#. I haven't found an appropriate answer to my question, so i hope you guys can help me. After weeks of trying I finally got my Code...

View Article

Visual Studios not letting me Attach to Unity

The visual studios "attach to Unity" button currently just says "attach..." and when clicked it brings up a window asking me to select where to attach to. If I find Unity.exe in the list it does not...

View Article


attaching object to another animated object

I want to attach one objects (spheres) to anothers that are animated (pipes). Doing it by hierarchy no matter how, at best is rotating both pipe and sphere around its axis, not the way the rigged model...

View Article


Attaching a cloth object to two independently moving players,

Hi folks, I need to attach a cloth object (blanket) between two players. I managed to attach the blanket to one player by making it a child of the player and using the constraints. However I would like...

View Article

In visual studio, attach to unity is not working

[link text][1] [1]: http://gofile.me/2OpQQ/ZE9feQlIr

View Article

Does my base class that inherits from MonoBehaviour needs to be attached to...

**Hey guys!** I've worked in C# in Unity for few months now, but without using inheritance at all. :D Today I decided to start learning it, I understand a lot now, but one simple (?) thing I don't...

View Article

How to Attach a c# script in Platform Specific Managed DLLs?

I'm now making a plugin that works for diffierent platforms. MyPluginEditor.dll for editor, MyPlugin.dll for android and ios. Both of these two dlls have the same scripts. MyPluginEditor.dll is...

View Article


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
Browsing all 168 articles
Browse latest View live


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