Quantcast
Channel: Latest Questions by Steve Cogbill
Browsing all 14 articles
Browse latest View live

Collect and Use Object

I want to able to collect a gameobject (which will be a battery in my case) and then make it so that every time the right mouse button is clicked, one of the batteries is used up. Now I don't really...

View Article



Spawning a projectile with a trigger

Im trying to make a projectile spawn from a turret when an "enemy" tagged object enters its collider or trigger zone. I have 2 empty game objects positioned where I would like the projectiles to spawn...

View Article

Car flips when it turns

I have made a car that drives when you use the arrow keys. Everyhing works great except that it flips when you turn even if you are going at a relatively low speed. Is there any way that I can make a...

View Article

Terrain Hugging for a Car

I have a go kart that I can drive around my scene. I am making a course for it to follow, but when it goes uphills or over any bumps, it takes them as jumps and goes flying quite far away. I am not...

View Article

Collecting 2 items at a time by mistake.

I have a very simple game where the goal is to collect 15 stars. Everything works fine except that some of the stars count for 2 points instead of 1. I tried deleting the stars that get counted twice,...

View Article


Spawn Random Item On Trigger Enter

I have 3 different items and a box collider. When I walk into the collider I want to be given one of the 3 items at random. When I enter the trigger I want the item I get to spawn in front of me. I'm...

View Article

Spawn item at different location

I have a box collider that is going to be used as a trigger and when my player enters the trigger, it spawns 1 out of 3 random items that I made. Here is the script I've been using, thanks to...

View Article

Collect and Use Object

I want to able to collect a gameobject (which will be a battery in my case) and then make it so that every time the right mouse button is clicked, one of the batteries is used up. Now I don't really...

View Article


Spawning a projectile with a trigger

Im trying to make a projectile spawn from a turret when an "enemy" tagged object enters its collider or trigger zone. I have 2 empty game objects positioned where I would like the projectiles to spawn...

View Article


Car flips when it turns

I have made a car that drives when you use the arrow keys. Everyhing works great except that it flips when you turn even if you are going at a relatively low speed. Is there any way that I can make a...

View Article

Terrain Hugging for a Car

I have a go kart that I can drive around my scene. I am making a course for it to follow, but when it goes uphills or over any bumps, it takes them as jumps and goes flying quite far away. I am not...

View Article

Collecting 2 items at a time by mistake.

I have a very simple game where the goal is to collect 15 stars. Everything works fine except that some of the stars count for 2 points instead of 1. I tried deleting the stars that get counted twice,...

View Article

Spawn Random Item On Trigger Enter

I have 3 different items and a box collider. When I walk into the collider I want to be given one of the 3 items at random. When I enter the trigger I want the item I get to spawn in front of me. I'm...

View Article


Spawn item at different location

I have a box collider that is going to be used as a trigger and when my player enters the trigger, it spawns 1 out of 3 random items that I made. Here is the script I've been using, thanks to...

View Article
Browsing all 14 articles
Browse latest View live




Latest Images