Quantcast
Channel: Latest Questions by Infinite_Gamer
Browsing latest articles
Browse All 32 View Live

In-Game Level Editor/Creator

I am making an FPS game and I want to have it so that the players can make their own levels with the models that I put in the game and at the end save it. I do not want a pre-made editor such as...

View Article



(C#) Rotate Object over Time

I need an object to to rotate over time. Here is my code that rotates the object. using UnityEngine; using System.Collections; public class CrouchTesting : MonoBehaviour { //Variables Start //Public...

View Article

Help on Player Movement Script C#

I have a problem with my script.When I have this script on my player and I put rigidbody on it and play the game and then I try to jump the cube freaks out and starts to flip flop evertywhere. Here is...

View Article

[Answered]Rigid body Movement C#

Sorry for all this stuff about movement. I am trying to make a rigid body based player movement.I found this script off of the unify wiki. But I am trying to make a sprinting ability to it. I have been...

View Article

(C#) GUI Buttons not working

I am trying to make a main menu from the built in GUI system.This is my first time doing this so I do not know that much about them. But anyways here is my problem.When I press the buttons they do not...

View Article


(C#) Screen.lockCursor not working?

Hello Unity members. This is my first time using Screen.LockCursor so this maybe a noob question. Anyways the proble I am getting it that when the cursor gets unlocked from another script like my...

View Article

[Answered](C#) Unexpected symbol `else' Need Help

Hello everyone. I am making a movement script with some animations(first time) and I am getting errors that don't make sense to me. The first error I am getting is "PlayerMovement.cs(48,28): error...

View Article

Raycast does not detect Objects

Hello unity community. to cut to the chase what I am doing is I am trying to make a parkour system and what it needs to do is detect if a wall it "X" amount away from the player. I have a raycast to...

View Article


(C#)Changing Camera Background Via Code

Hello Community, Ill just cut to the chase. I am a little busy right now.I have a problem with my code. I am trying to make a Day and Night cycle by just changing the background of the camera. I have...

View Article


(C#)Place GameObject from Mouse

Hello Unity Community. What I am trying to to is place a gameobject if it is less or equal to "X". Here is my script. using UnityEngine; using System.Collections; public class PlaceObject :...

View Article

(C#) Help with spawning a random GameObject

*Edited Hello Unity community. I need help with spawning a gameobject. So this is What I want to do. I want to have a random number choose 1 gameobject to spawn then I want to spawn just that One...

View Article

[Answered](C#) Help with dealing damage to enemy from Raycast

Hello Unity Community, I am making a top-down shooter. I want to use Raycasting for the bullets of the guns. This is my first time using Raycasting to change an amount on another script so I am having...

View Article

[Answered](C#) Stacking Items in a Inventory

Hello Unity Community, What I am trying to do is if an item can be stacked then stack it. But I am running into a problem. I have a currentStack amount on the Item itself, when I add an item this...

View Article


[Answered](C#) Simplex Noise and Negative Coordinates

Hello Unity Community; I am trying to make a tile map game where the worlds are randomly generated. I have mostly everything working, but I ran into a problem. When I put negative coordinates into the...

View Article

[Answered](C#)Comparing two Lists for a Crafting System

Hello Community, I am am making a crafting system. What I am doing is getting the item IDs that are in the crafting slots and putting them into the ingredients List. Then I am checking to see if the...

View Article


(C#) Stack Overflow Problem

Hello Unity Community! I am making a Voxel engine. I have a script to control the World(chunk placement), then I have my Chunk(just places Voxels for now). I am running into a problem. When I try to...

View Article
Browsing latest articles
Browse All 32 View Live




Latest Images