Quantcast
Channel: Latest Questions by secondry2
Browsing index pages (28 articles)

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


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


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

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

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


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

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

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


How get an animation to play at runtime?

Hello guys! Just wondering, i got this character i made up in fragmotion, and i exported it as an FBX file with one animation, and when i import it into unity, in the import settings, down the bottom...

View Article


Compiled project: Cannot move

Hey guys, Well, just about to give up on unity, great engine, but sh*t when it comes to compiling Ive found, just refuses to work. ok the scenario: I have a first person controller, and a bunch of...

View Article

Compiled Error: MainData Corrupt?!

Hello! Decided to make a new topic, since I found the problem, basically, it says the maindata is corrupt from a compiled project, and I took a screenshot (made it a development build)...

View Article

Compiled Game Crashing

Hello! I got a problem when trying to run a compiled game, this is the first section of the error.log: DS_TEST.exe caused an Access Violation (0xc0000005) in module DS_TEST.exe at 001b:012e6bfa. And...

View Article

Flashlight Cookie Not Displaying

Hello guys! I have a flashlight (spotlight) and a cookie that I made for it. It is 256x256 and greyscale/grayscale, I imported into unity, and I don't get the image displaying, I get it as a...

View Article


Collider Script Not Detecting

Hello! I've got this script to detect whether the player has picked up an item, and heres the deal: I have a paper entity I imported, and I added a sphere collider, to it, and if the box is trigger is...

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


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

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


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

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

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
Browsing index pages (28 articles)


Latest Images