Quantcast
Channel: Questions in topic: "spawn points"
Browsing all 102 articles
Browse latest View live
↧

Create a streched cube between any two selected points.

I need a script that is allows me to create a cube between two specified points. The desired code would allow me to be in game as a first person controller and create a cube from selecting two points....

View Article


How to move one object's position to another in unity? (c#)

How do you move one object's position to another in unity? I need to make my player object move to the spawn point when he dies. Here is the code I am using: this.transform.position =...

View Article


Spawn object in "set random" location

Hi guys :) hopefully someone can help me :) im trying to make a game where balls come from the right of the screen moving left. i want them to spawn off screen and start moving left. (thats not the...

View Article

Accessing different spawn points

So I have my spawning code for the player working how I need it to, but my problem is I need to be able to access several different spawn points across the game in different scenes, and my code only...

View Article

Making a spawn point

I'm making a level where I have 2 gorge that I have to cross across in order to proceed further on in to the level. The first gorge has a series of rocks to jump across to reach the other side, and the...

View Article


Trying to get a prefab to pop up at various spawn points

Hi. I'm completely new to Unity and sort of making it up as I go along. I've managed to stumble through all the problems I've had so far (mostly thanks to this forum), but this one has me completely...

View Article

Problem with instantiate script

Hello! I've got a problem with my spawn script which i just cant figure out. The point of the script is to spawn platforms aligned perfectly next to each other, without any gap between. The...

View Article

spawn objects in random locations, check if location already taken

Hi! you'll see, i have this scripts that i made, i have 8 letters i wanna spawn in 11 possible spots, i want each letter to be assign to one unique location, but when i run the script, some letters are...

View Article


HOW TO MOVE A OBJECT TO ANOTHER OBJECT SMOOTHLY NOT INSTANTLY?

HI GUYS! ok I want to know how to move an object to another object smoothly, as if im throwing it the other object. Say I have Object A and Object B. I want, if I click Object B, then Object A will...

View Article


Teleporting the player between scenes to a particular spawn point [c#]

So I'm basically creating a simple maze made out of different rooms. There are several doors in each room that all lead to another specific door in another room. For example, this is the script on the...

View Article

2d Obstacle spawner with fixed distance between objects

I have a ball moving forward, and so far a single cube controlled by the mouse, I want to have at least 5 cubes on screen once the game starts with a certain range of space between them and have them...

View Article

Flip sprites in enemy spawner

I am so close to figuring this out. A random running player is selected from the array and placed in a random spawn location (also obtained from an array). If the player spawns on the right he faces...

View Article

I need help with my spawning system(SOLVED)

I am trying to make a spawning system based on time and exact positions, i made something but the problem that i have is that when i break 2 or more game objects at the same time, or even in quick...

View Article


Hi! :) i'm just newbie in Unity,

i would like to ask on how do i able to make a random positioning of my prefabs without repeating?

View Article

Spawn player prefab on sockets c#

i have try to implement the client server to my game the server and client work perfect now i finish my player prefab and i try to spawn the player we is a server and wen is a client i have no erros...

View Article


Create GameObject On Click Not Working

Can you guys please help with my code. I have made this code which is made so that when the menu button on the VIVE is clicked, a new game object is spawned. For some reason, even though there are no...

View Article

How do I make the enemies continue spawning?

When I press play the spawner only spawns 1 enemy and thats it. How do I make it continuous? **Here's my Spawner script :** using System.Collections; using System.Collections.Generic; using...

View Article


Spawn system not working correctly

I try to spawn one or two obstacle at the same time given the position rightpos, midpos, and leftpos but i keep getting the spawn position to only rightpos and midpos. void Start () { rightpos = new...

View Article

X,Y,Z coordinates 0,0,0 do not match for hand created vs code spawned objects

![alt text][1] I generate an object at 0,0,0 in unity manually and it now appears as the map surface below ("Ground") and I also generate one of a number of blue cube objects programmatically, one of...

View Article

how to limit a trigger frequency?

Sorry for my English because it was written in google translator. I'm trying to do programming that might limit the spawn of the enemy, but I do not know how to do it. public GameObject Inimigo; public...

View Article
Browsing all 102 articles
Browse latest View live


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