rotate an object relative to a camera
Hi, i'm trying to rotate an object relative to the camera's forward axis, so that from the cam's POV it looks like a roll. There has to be a proven way to do this, right? I'm new to Quaternions, Euler...
View Articlemake a GUI control exclusive
in a project for iOS, i have a script which lets the user rotate, scale and translate objects in the scene. There's also a GUI script with a slider which controls some property of that object. What...
View Articleweird bug on updating transforms
in an iOS project, there is a 3D object which can be rotated and moved around on screen by the user. at the bottom of the screen is a drop shadow like this: ![alt text][1] since i want the shadow to...
View Articledid Unity just DELETE ALL MY XCODE SPECIFIC STUFF?
i'm slightly panicking here. I've had about 3 days worth of UIKit code inside the build folder of a Unity iOS project, inside the Classes folder. Working in Unity would append to this build, and i...
View Articleget material from the library at runtime
i have several scenes with several objects that all have a script attached which changes the material of its object to one common material for highlighting. how would i assign that material to the...
View ArticleUIKit animations are stopping Unity animations
I'm using UIKit elements in an app for iPad, specifically a UIScrollView in some popover-lookalike on top of Unity's GL view. Now whenever the scrollview animates a page change, all Unity animation is...
View Articleprevent Unity from initializing its audio session on iOS
I want to use external audio code in my project as Unity's FMOD interface is inadequate for my needs. For this i need to know how to prevent Unity from setting up an audio session on iOS. This question...
View ArticleNullReference in Start() or Awake() when testing on Android device, works...
i'm getting a weird null reference exception when i debug my app on device (Asus Transformer Prime). This happens in app initialization, both in Start() and Awake(). The Transform is being assigned in...
View Article