I’m using a Blender + Substance Painter pipeline (baking and texturing) with a low-to-high workflow: first a low-poly model, then geometry refinement, bevels, and subdivision. Since I’ve only just started learning, I ran into a problem on the simplest possible model: a cylinder. I made a basic 20-sided cylinder (0.6 m in…
I'm trying to create a C# script in Unity to make a box (or plane eventually) fly somewhat realistically. here's what I have so far: public class MoveCube : MonoBehaviour { public float moveSpeed; public float rotSpeed; private float deadZone = .1f; //private Vector3 moveVector; // Use this for initialization void Start ()…
Thank you very much!!! :0) I watched the tutorial very carefull and i can say is very good.:0) But the thing that still i can't understand is..Ok if the object is much complicate(like my Humv)i just can't imajine how it can be done.Because in the Tut.he showing everything with allready unwraped obj. is that mean that i…
Yeah just a bump to say I solved it: var minAngle = -45; var maxAngle = 45;private var tempVector : Vector3;private var tempVector2 : Vector3;private var inputRotation : Vector3;private var rotateCheck;function LateUpdate() {tempVector2 = new Vector3(Screen.width * 0.5f,Screen.height * 0.5f,0); tempVector =…
OUT.Position = float4(0, 0, 0, 0); That line is your problem. Whatever is connected to position is not considered to be valid, so it reverts toma defailt float4 value Consider attaching your .sfx file
http://docs.unity3d.com/Documentation/ScriptReference/Quaternion.html You are mixing euler angles and quaternion components. transform.rotation.y is not an angle around the y axis but a component of the quaternion. If you change this: Quaternion.Euler(0, (transform.rotation.y + 10), 0); to this: Quaternion.Euler(0,…
I'm looping through multiple objects, but the loop stops before going to the next object. Created a loop with condition. If condition is met, it calls a ReduceEdge() function. Problem is it will only iterate once and not go to the next object and repeat the procedure. global proc ReduceEdge()
{ polySelectEdgesEveryN…
Hey, been running into a problem recently regarding the neutral grey values of the UDK Material Editor. From my understanding Constants are set up representing the 0-255 Color Values into a range from 0-1 0 being black 1 being 255 white 0.5 being 128 neutral grey However, as I've been pushing forward playing around more…
Hey guys, I am trying to have my vehicle play an animation when it fires my projectile. What do I need to do for an animation to be triggered when firing my gun on the vehicle? But what script do I edit to tell what animation to play when firing? Here is my UTVehicle_Cannon.uc file: /** * Copyright 1998-2011 Epic Games,…