Quantcast
Browsing all 91 articles
Browse latest View live

simple raycast telling distance from ground

I have never really used a raycast for anything. I usually just work around it because every time I've used it I would get errors of some sort. But basically I would like a ray cast that just tells my...

View Article


Collision for a block maze script C#

I'm building a game for a project for school. I had the idea for a maze game with a couple twist and turns. The Idea for the script is to press one of the WASD keys down and you would move one space...

View Article


Convert read-only animations to read&write?

I've been working on this project for school, and I've trying to get this walk cycle animation to work that I built in Blender. I keep trying to play it from a script and it says it cannot find the...

View Article

Checking collision direction.

I'm writing this new controller that uses a rigid body as the main character. What I would like to implement into it, is a way to tell if a character is touching a wall and what side of the character...

View Article

3d platforming Camera

I've been working on this camera rig were the camera rotates and follows around the player. I've already got the rotation taken care of in another script. What I've been looking how to do is trying to...

View Article


Damage sending with grenades.

Okay I've been trying to create a script that applies damage to rigid bodies through an explosion radius but the message I'm trying to send to another script doesn't seem to be sending. I'm not getting...

View Article

Restricting horizontal slash attack

I've been working on making this slash attack for my character. The whole point to this script is to put the damage range in sync with the slashing animation. The slash is completely horizontal and is...

View Article

My toon shader seems to make a black hole.

![alt text][1] [1]: /storage/temp/48729-untitled.png This is whats happening int to the model I'v attached this toon shader to. It seems to be creating this black hole of some sort and i can't figure...

View Article


Stop player following cameras cameras direction

Okay I'm not going to go to much into it but this is what I need my script to do. The way I have my controller set up is that the camera looks to the side of the player a little bit. I use this for...

View Article


My GUI stopped working?

Okay I bought this asset online so I would like not to show the whole script. The problem is this asset stopped working when I updated from unity 5.0 to 5.1.2. The script is for a controller GUI...

View Article

Keeping an object constrained to a 2d radius based off of the camera

A few weeks back I posted a question about keeping an object on the screen. What I would like to do now is clamping an object around a 2d radius based on the camera. I'm need this for a reticule for...

View Article

help me theirs no GRAVITY!

I would like to know how to apply gravity to my character controller without using simple move.

View Article

simple health system

I need help with my simple health system. It has many errors in that need to be cleaned up. This is my first health script and I need to know how I can get it to work like I want it to. var health =...

View Article


Just need some ai info.

I would like an AI with two different axis. One on the X axis. One on the Y axis. I would like the AI to look at the player separately on both axis. Also I only want it to work within a certain radius....

View Article

ai script help. please help this script.

Basically I want this script to be simple, when you get within a certain radius the AI looks at you. Right now I'm getting plenty of errors from unity. I will address them in the end. THE SCRIPT: var...

View Article


ai help: fire shots

I need help fixing the errors in my script please note if you see anything that will go astray from the description of the script. this script will be attached to a child of the AI. a cube collider is...

View Article

Health system final

Okay I've decided I'm restarting on my health system. I want it to work the same but built where it will actually work for my game. I need more advice on how to build it. The last health system...

View Article


Visual scripting

hello I would like to know about visual scripting. I have no experiences with it at all. Can someone give me an overview of how it works and a good tutorial on the topic. I can't remember the name of...

View Article

multiple aninimations for one action

I've been working on a script that will play two animations for swinging a sword from left to right. I can't seem to get it working if tried two different ways to do this: this one has a basic idea of...

View Article

bow and arrow (load and fire)

I've been working on a bow for a fps shooter type deal. It works off the idea of getting mouse button down to pull the string back, and releasing the arrow with mouse button up (sorry it's really...

View Article
Browsing all 91 articles
Browse latest View live


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