i am having issues with my mario clone project
here is my Mario Clone script that i am doing for my class: if someone can help me with this i would really appreciate it thanks in advance. i have redone this many times - thinking i am missing...
View ArticleHow do I make a clone of a prefab appear on the correct layer? [5.2.2f1]
So I'm making a 2D Space Shooter game, and I'm having my player shoot lots of types of bullets by using Instantiate to clone from a prefab, but the bullet keeps damaging my ship because even though the...
View ArticleObjects fail to carry over to clone
When the player in my game dies, I have set it so that it will respawn by creating a clone. However, everything in this clone is working besides one thing. Which is my Health Bar, it fails to carry...
View ArticleCode keeps cloning a clone instead of the prefab.
I'm trying to make an empty gameObject spawn projectiles, called "RedCube". I noticed that instead of cloning the original prefab, the code keeps cloning the last spawned cube. So, when all the cubes...
View ArticleCloning an object seems to cause the original to disappear
I am trying to create the appearance of a never ending field. When an object that is moving gets close to the boundary, I want to create a clone of it and set it at the other end of the field. I do not...
View Articleclone and anchoring problem
I have some problem. The problem is about clone instantiate and its view. well my clone is creating. I use anchor point to confirm the position of my object. in this case stair. i pin their position...
View ArticleWhy Original GameObject Destroy Clones ?
Hello EveryOne ... So i'm making a 2D Game in Unity Using C# ... i have a Game Object .. where i make a lot of clones from it ... when one of these Clones including the Original One go Invisible .. i...
View ArticleHow do i take a grab of clone from prefab and change his velocity
im creating2d ufo game and im trying to make the spaceship fire i created a prefab of bullet and add a rigidbody component. created an empty object in the hierarchy and attached the script to it. the...
View ArticleDestroy not working and weird behaviors ( multiple clones )
Hi everybody, I recently started to use Unity and i'm facing few problems. I want to create something that'll behave like a mine, thus means there would be an object and when someone will step on it,...
View ArticleChange clone sprite when collides with player C#
Hello, im creating an endless runner game and my ground is made up by clones. How can i change the clone sprite when the player collides with it?
View ArticleDelete clone object if a new one spawnes
Hi. How can I delete this bullet GameObject if a new one is spawned? There should always just be one in the scene. I tried doing something here, but I ended up deleting my whole character... using...
View ArticleCopying on a circle
I have some object. I want to copy this object *count* times on a circle. Copies must be symmetric depending on their amount. I mean their placing on a circle. So now i have just this: for (int i = 0;...
View ArticleGetting variable from instantiated clone instead of prefab C#
Here's the problem. I want to get variables from cloned object script, but instead i get variables of prefab's script. Code: public GameObject prefab; public Script script; public int value; void Start...
View Articlecharacter cloned after spawn
I used cutscene on my Unity project, it seems that after i build it into Android, it works fine even if i received a lot of bugs. I have 2 different clones as follows. ![alt text][1] [1]:...
View ArticleHow can I get my camera to follow a clone after a certain trigger occurs?
The next issue I've been biting my teeth out on: After trigger occurs, I want my main Player camera to focus its "gaze" on the incoming enemy **clone** which has spawned. Problem is though, it wont. Is...
View ArticleInstantiate keep on cloning my object - How can I stop it!?
I'm trying to make a destructible object by using 2 codes that I learned from a tutorial....
View ArticleInstantiated object does not inherit rotation.
So I am trying to shoot a bullet in relation to my characters rotation, but I am stuck. The bullet will always go in the forward direction. Here is my code. var Bullet : Rigidbody2D; var BulletSpawn :...
View Articlerender same mesh object multiple times in different locations ?
i have a mesh object i'd like to render a few hundred times at different parts of the screen. i can easily clone the game object and it works, but i'm worried about the possible overhead this incurs....
View ArticleEngine breaking bug : Unity scene's instantiation is completely broken....
Okay, First, thanks for reading this. I would like to mention that I got absolutely no idea about "why" this is happening, but it is and I have been looking around for possible solution or even just an...
View ArticleHow to attach the camera to a player object instantiated by HLAPI Network...
In short, I have a very simple multiplayer game. It's the Roll A Ball game (Unity3D tutorial). So right now I have the players etc spawning perfectly and everyone is able to control their own balls...
View Article