Get the center point of current selection in Editor?
There really needs to be a way to "wrap" selected items in a GameObject. I wrote an editor script to do it, but it's really annoying to have the parent GameObject not located at the center of the...
View ArticleHow to freeze position x and z on rigidbody(both!)
I was trying to use RigidbodyConstraints to freeze a cube's x and z position. I then used Debug.Log(rigidbody.constraints) to print the constraints. When I ran the game, It printed only(I checked all...
View ArticleRecoil View Bobbing no mouse dynamic crosshair script
can someone give me a Recoil View Bobbing no mouse dynamic crosshair script
View ArticleMy character will fall through the floor with this script:...
My character will fall through the floor with this script: { public float moveSpeed = 6.0f; // Movement speed public float turnSpeed = 90.0f; // Turning speed in degrees per second public float gravity...
View Articlehow to cancel OnTriggerExit when already hitting a 2nd trigger
my issue an object moving when it hits the "floor" it triggers a flag variable, "not_on_floor", to get set to 0 and then when it stops touching the "floor" i change the flag back to 1. The flag...
View Articlejavascript for object falling
Advice on how to make a javascript to make an object fall from midair to the ground/plane at full speed when space bar is pressed.
View ArticleUnity multiplayer only localhost
So, I have C# code, that should connect to server. My problem is, I can't connect to other computer even though they are in the same network. So, what I'm doing wrong? [MultiplayerScript.cs][1] [1]:...
View ArticleNetwork.Instantiate c# issues
I rewrote my network manager script from Javascript to C#, and I ran into a problem. After a lot of debugging it seems the scripts still function same, except that the lines Instantiating my players,...
View ArticleRigidbodies not reacting to one another
I have several sphere colliders & rigidbodies in a scene and when gravity is turned on they are affected and will fall out of space however they still overlap one another. Here is a screen grab of...
View ArticleCheck if mouse cursor is locked
I'm making a game and I want to release the mouse when the player presses Escape or P. How would I check if the mouse is locked or not?
View ArticleHow to prevent Transform from going through walls?
I have code when I press arrow keys my capsule transform instantly turns to desired direction and then moves in that direction. All that works good but when I'm in tight space between two skinny walls...
View ArticleIssue importing Modo animation to Unity
Hi All, I'm having an issue with importing modo animation to unity. My animator has done up the model and rig in modo 701 and when I import in unity 4.2 it distorts like the below picture. It looks...
View ArticleUgly seams
Howdy, I've noticed that several of my objects have this nasty seam running through it that breaks the shader: ![alt text][1] [1]: /storage/temp/13574-unity+help1.png At first I thought it was just a...
View ArticleHow to load levels with colliders?
Hello I am currently working a FPS game, and need to be able to load levels via colliders. As in, a player would collide with a cube, and then the level will fade(I know how to do this) and it will...
View ArticleConnecting multiple platforms to one server
My big plan was to create a multi-player real-time third person game that has multiple operating systems connected to it. Currently I have not looked into any sort of networking but I was just curious...
View ArticleHow I can use StreamingAssets on Windows Phone?
I need load textures from local storage via WWW. How can I do this?
View ArticleLogitech Gamepad F310: Can I use this to playtest?
Just starting to learn Unity, and I was hoping I could start prototyping my ideas with the above mentioned controller. Is it possible? Are there any tutorials on this? Thank you!
View ArticleUnity3d Controls Not Working Win8
Heey, Im having a problem after Changing from windows 7 to win 8 I got a new laptop exported my unity project. and got the new unity on my win 8 laptop. Now from hear I open my unity project and goto...
View ArticleOn Click Circadia Effect
If you've haven't seen Circadia, Check a video out here: http://www.youtube.com/watch?v=UKZyGCGZNbs So I have my game where you can click on the screen with the cursor. I want it so when you click,...
View ArticleTPS Camera script. plz upgrade. im desperately
plz upgrade my script. first im not a American so plz understood my lowqulity languge. this script work well. but only turn X Axis. so i was upgraded this script. it was successful. but prop was turned...
View Article