Quantcast
Channel: Latest Questions by secondry2
Browsing all 28 articles
Browse latest View live

Enemy Detect Player's Raycast

Hello! Basically I am making a zombie fps, and have made it so i have a working gun, which is using raycast. What I want, is some help making my zombies detect the player's gun's raycast. Then...

View Article


Failing to detect X,Y,Z Locations of GameObject

Hi guys! Ive got this code, thats suppose to move a lantern toward the player and down to imitate a running effect, once it reaches a certain point, its suppose to stop which it is failing to do. (I...

View Article


There is no renderer attacked to main camera

Hi! ok, so im trying to detect if a gameobject is outside the view of the main camera of the character controller. Here is my script, it is attached to the enemy: var angel : Transform; var cam :...

View Article

Custom tree doesnt render

Hello! I created a tree in an external modelling program (sketchup) then exported as an fbx, fixed the scaling, then when i try and add a tree and choice it, it doesnt show up when i 'paint' them over...

View Article

Problem reading from array at runtime

Ok, so basically I am making a game engine, and am having it so it reads from a code file at runtime. This is a short snippet that is causing the problem: (varList is a string, varArray is an array, I...

View Article


OBJ runtime import

Hello! I am looking to import an obj file at runtime so my game users can make their own maps. I am not looking to spend a cent on this, I have found one on the wiki...

View Article

Assigning UV Map to model at runtime

Hello! I have an OBJ importer working to load custom character models at runtime, however when I assign the texture at runtime via code - js (www download) new.material.mainTexture = wwwd.texture; and...

View Article

Changing Texture at runtime

Hello! I am trying to change the texture of a person at runtime from a normal shirt, to a bloody shirt. (I am using a texture map) In the editor I am able to set the texture just fine (the texture map...

View Article

Browsing all 28 articles
Browse latest View live