Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live
↧

View four different cameras at once?

Lets say i have four cameras. Is it possible to view all of those cameras at once? Would i have to have Unity3D Pro so that i can show the camera as a texture on an object?

View Article


When backing out of Game on Android(h/w home button), and returns to play.....

Hello, and thank you for your time. Here are the basics of what I have going on - 1. player object has a .js component that includes all player controls, which consist of tapping to move the player and...

View Article


Multiplayer FPS Bullets: should they be rigid bodies or raycast?

Should bullets in a multiplayer FPS be instantiated as rigid bodies (could be laggy if there's a lot of people shooting) or is it better to use a raycast? If I use a raycast, can I specify how fast it...

View Article

Scroll GUI Texture

Hi, I have made my game and I need to add a credits page now. I made a fancy list of credits on PhotoShop and imported them in Unity and used it as a texture. All the answers I've found so far only...

View Article

Maya / Paint Effect / Animation export

Hello I am using maya 2011 and I got the last export module in FBX. I have converted the paint effect in polygons, then baked the animation into keyframes, but it seems something is missing, especially...

View Article


What kind of script would I use to make a fighter jet move back and forth...

I have a fighter jet model in my project in unity and I was working on a script to move the jet back and forth over the play area over a period of time. I originally used a ping pong script to move it...

View Article

How would I make a turn based system with simultaneous turns? (C#)

I've found a few good tutorials for driving a round-robin turn system with events and states in C#, but I'm having trouble applying that to what I want to do. What I want for my game is a system with a...

View Article

Facing target, then shooting

i got a cannon with slow rotation speed (using Mathf.Lerp) and this cannon firing even if not facing foe. I can't say it something like (if thisRotation == target.position) //Fire Lerp will never be...

View Article


Assigning references quicker through script

Can I utilize editor scripting to assign object references quicker than doing it by drag and drop? I know how to get these items by searching for them, but storing them as references outside of runtime...

View Article


How do I play a movie file ingame? c#

Hey there, I have made a video file that i want to play when my first level loads for new players, it's basically a game tutorial. I was wondering how i do it since it will be a full screen...

View Article

Odd character controller behavior when a shield object parented to child

I have a ship object that is moved with character controller's simplemove system. The movement works fine when no shield is added. Then I add a shield object it doesnt seem to want to move, but still...

View Article

(C#) Clueless: how do I use this camera switching script ?

Hi I have found this script in Unity's forum for switching between two cameras, however, I'm not sure how to use it ! I thought that all I had to do was to attach the script to the two cameras I wish...

View Article

can anyone help me stop a rigidbody from rotating around its z axis

I have been working on creating a script that rotates a object using the mouse along it's y and x axis but i want it's z axis to return to zero after turning, does any one have any suggestions. this is...

View Article


Conflict using Mouse and XBOX360 Controller at the same time

Hi, I'm trying to create a game for two players with a split screen, one uses the mouse and keyboard and the other one uses a XBOX360 Controller. I have created four axes in the InputManager for...

View Article

How to make a plane fly in a given direction?

Hi there guys! I have started working on a flight game.There is one problem I have encountered and that is how to make the plane move in the direction i'm turning it in. What I did is add a force to...

View Article


Disable all sounds in game

Hi there, I've got this script that I've modified from NGUI (UIButtonSound.cs) (I am in noway a coder) and I'm trying to disable all audio when a NGUI button is clicked. I've used a the same script...

View Article

Network.Destroy and collision; destroying correct object.

Got a small problem regarding Network.Destroy and OnCollisionEnter. In my multiplayer game, I have a Network.Instantiated prefab (a target) that needs to be destroyed upon contact with another...

View Article


Simple directional light shader via vert/frag

Could someone provide me with a simple lambert lighting model shader that uses a directional light. I'd like to use that as a jumping off point to a more complex effect that i'm trying to achieve. I...

View Article

Access Musics from iPhone on Unity

It's possible to use the user musics on iPhone, chose it, and play them on Unity ? And from Android ? I don't have any idea and checked on internet but I don't found nothing

View Article

Why does deployed ios app crash on a shader that compiles fine in Unity?

Xcode throws a sigabrt at compile time.

View Article
Browsing all 171066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>