Quantcast
Browsing all 104 articles
Browse latest View live

hi guys i have a problem with my player(Roll A Ball Game) on android, my...

using UnityEngine; using System.Collections; [RequireComponent(typeof(Rigidbody))] public class ForceFromAccelerometer : MonoBehaviour { // gravity constant public float g=9.8f; void FixedUpdate() { //...

View Article


Transform.up doesnt give me it´s local up position

When I write this: Debug.DrawLine(firstPos.position, -firstPos.up * 5, Color.red, 1); It doesn´t go to the actual up position from the game object. It goes to the origin´s up position. How do I get the...

View Article


LookAt whilst traversing a sphere

Hi, I have a situation where I have an object that is on a sphere. Imagine the red dot is the object, and the green dot is where the object is facing. ![alt text][1] [1]: /storage/temp/158407-diag1.jpg...

View Article

Vector3.forward returns nowhere, Vector3.back returns everywhere.

I have no idea why or how, the situation isn't that complicated, and the title sums it up perfectly. Vector3.up/down work fine, same with left/right. I'm using a blender model and I heard that tends to...

View Article
Browsing all 104 articles
Browse latest View live


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