Quantcast
Channel: Questions in topic: "separate"
Browsing latest articles
Browse All 103 View Live

Transparent shader with separate specular

Hi, Is there a way to have a transparent shader that separates out the specular so you could have a separate texture for it, like you do for the normal map? Thanks. Zaffer

View Article



Character controller movement

I am making third person shooter. I want to use character controller, it is given in manual about - input getaxis , horizontal or vertical whatever it is. But my problem is --> I am able to move it...

View Article

Rigid Body collision problem

Hi, I've submitted this question before, and on request of a user I added a picture. I also defined the problem more sharply after some tests with the help of some tips this user gave me. I have a...

View Article

Does every c# class need to have its own script with the class' name?

Hey guys, could you please give me a hand? PLEASE DON'T BE AFRAID BY THE CODE, it is working :D. The following code runs smoothly, but for it to work, I have to split each class into a separate c#...

View Article

Coloring separate text in string array

I was thinking of possibilities to color separate text chunks inside a string array. One way could be rendering the whole string array by single char, by encoding text color parameters inside string...

View Article


Need idea for separate a surface of an 3D object

I'm currently working on an game and i need to separate a surface of an object. I want to achieve that it is possible to click of one part of an specific 3D object. For example i have an object with...

View Article

Can't use script name as variable type?

I am fixing a bug that my game has. The bug is that when the game is paused, some scripts are disabled (specifically camera orbiting ones), but if you click on a brick(programmed to disable the same...

View Article

Run a simultaneous "viewer" build.

I would like to run two separate independent builds. The first one controls input and the second one is intended to be rendered on a separate display and only show what the player is doing via a fixed...

View Article


Better to use single or multiple models?

I'm creating an apartment building that has three floors and six suites on each floor. Every aspect of the building will be explorable. I can't remember where I saw it but someone said to separate...

View Article


Trigger animation using script on separate box collider

I'm trying to do something that I thought would be very simple, but it's proving to be very difficult to figure out. I have a box collider with 'Is Trigger' enabled, and I want to add a script to this...

View Article

How to separate parts of a string?

Let's say I have a string that a player in my game can enter. He can enter the following: kill SomePlayer123 tp SomePlayer123 AnotherPlayer123 spawn SomePlayer123 giveWeapon SomePlayer123 RandomPistol...

View Article

What can I use to find part of a phrase in a string?

I'm trying to set up a commands system, but I'm not sure how I would find if the string has a slash at the beginning. Similar to some programming languages (I'm referring to Batch files or MS DOS in...

View Article

How to break up a number into seperate digits?

Say I have a number that I want to be used more like a code than a number. For example; I could have the number 459, where 4 is the level that the player is on, 5 is the player's health, and 9 is the...

View Article


Can an Instance Array Recognize Separately Named Instances?

I have a script that makes an array of instances, but I need it to find separate instances. I doubt that they will ever become gameObjects. However, I have a separate question on that if you have a...

View Article

Vector3.Angle, set range on individual axis

Hi, I've followed the example on Unity's documentation about Vector3.Angle to see if a target is inside a certain specified angle from the player. So far so good, but I've would somehow like to set the...

View Article


How to make a light only emit speculars ?

Hello ! I'm trying to find a way to make so that my 3d mesh is lit only by specular light, and reflects no diffuse light at all. I know there is an option in Maya lights to separate diffuse and...

View Article

Multiple meshes vs single mesh (performance vice)

I always split my meshes (levels , characters etc ) into many separate ones so i can texture them more easily (apply different textures on different groups of faces) but i am worried about what impact...

View Article


Mesh separating from CharacterController

When i start the game everything is fine the mesh is parented to the CharacterController Capsule but after running around for 3 minutes it becomes like this: ![Mesh separated from...

View Article

How to Create Separate Volumes

I want to create separate volumes for music and SFX. But from what I could find there's only the global volume called AudioSource.volume. So how exactly do you create separate volumes if there's only...

View Article

How to texturize individual elements of a mesh?

Hello, I am currently trying to texturize individual elements of an OBJ model I exported from Rhino. All of the exterior walls are in a mesh. When I try to texturize an exterior wall, all of the other...

View Article

How to have separate 3DS Max models from one .max file?

I was wondering if I'm able to extract multiple different models on Unity from my one .max file where I made all the models. When I click the little arrow beside the asset's thumbnail, it shows each...

View Article


Make an object to parts

I have an object of a weapon, how can I separate it from each other, like to color each part alone, when i add a material, it affects the whole object, can't I select a part to be affected?

View Article


Turn single script into three seperate actions (mouse clicks)

I have 3 separate boxes (transforms) and a button that when clicked with the mouse checks to see if box one is empty? if it is... it places an object in the box, if box one if full it checks / places...

View Article

Instantiate a cube around the player, with a maximum of distance

Hello, in my game I want to do is that when the player starts, he shows some cubes around him, but well separated, and with a maximum of cubes possible I also want that if the player is walking in a...

View Article

button to select what player shoots

The Player shoots automatically..what it shoots depends upon which button is clicked button 1 clicked then projectile 1 is shot...button 2 clicked then projectile 2 is shot and so on I have buttons...

View Article


IsPointerOverGameObject doing the opposite of what I want

I am trying to prevent a the soldier in my RTS from moving towards the UI buttons when I click them. I used IsPointerOverGameObject and now my soldier won't move when I tap the screen and he only moves...

View Article

Stop Blender From Splitting Meshes Into MeshPart0, MeshPart1, etc.

Suddenly, over the last few months, all of the meshes I export as Collada .dae have triangular separations. MeshPart0, MeshPart1, etc. They do not match up with materials that are supposed to go in...

View Article

syllable separation,Separating Syllables (string manipulation)

,Im trying to seperate each syllable of an english word/name into a list. The code I have is counting the syllables perfectly w$$anonymous$$ch I also need, but I cannot figure out how to seperate each...

View Article

syllable separation,Separating Syllables (string manipulation)

,Im trying to seperate each syllable of an english word/name into a list. The code I have is counting the syllables perfectly w$$anonymous$$ch I also need, but I cannot figure out how to seperate each...

View Article



How to destroy parts of a combined mesh in runtime ?

I have a 3d object consisting of models combined into one mesh. How can I selectively destroy parts (models) of the mesh? ![alt text][1] [1]: /storage/temp/200443-2022-10-06-13-56-49.png

View Article
Browsing latest articles
Browse All 103 View Live




Latest Images