Quantcast
Channel: Latest Questions by PauloPatez
Browsing latest articles
Browse All 14 View Live

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 Article



Detect 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 Article

What 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 Article

Apply 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 Article

Collision 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 Article


Do 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 Article

WebcamTexture.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
Browsing latest articles
Browse All 14 View Live




Latest Images