Jump, fall, and after determined time it's able to jump again.
I have a jump script, the player jumps, and I want that a certain time after fall to the ground, the player is able to jump again. How do I do this in java script?
View ArticleDetect collision with specified object
I was trying to use OnCollisionEnter, I know it detect collision on every object with collider, I want to specify which object it will detect collision with. How I do it in java script?
View ArticleWhat is the problem in my script?
First of all, I'll explain what I want to do. It's a zombie AI script for a puzzle game, I want that when the zombie collide with a specified (tagged) object, the direction witch he's walking be...
View ArticleApply gravity
**I'm trying to apply gravity to this Character Controller, but it is not working, what is wrong in this script?** var speed = -1; private var moveLeft = true; private var moveRight = false; var...
View ArticleCollision flag entering a tagged object's collider
How to detect when a character controller's collision flag enter an specifically tagged object's trigger collider?
View ArticleDo something only once
I have this script, it creates an object instance once per frame under a condition inside the Update function. What i want is to instanciate this object just once when the condition is true. var...
View ArticleWebcamTexture.GetPixel() bug on Android?
I'm developing an application that captures color information from device's camera image by using WebcamTexture.GetPixel(), it works perfectly on the editor (Windows), but on the Android build it...
View Article
More Pages to Explore .....