This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Aeleas

Member
  • Content count

    62
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Aeleas

  • Rank
    Member
  • Birthday

Profile Information

  • Gender
    Male
  • Location:
    this world

Recent Profile Visitors

237 profile views
  1. Better for you to learn how to animate human model. There are many tutorials on Internet will help you. With practice nothing will stop you. Mixamo is useful for your case. there are many types of animations of zombie and human you can use it freely.
  2. I was trying to do your steps and i get good result. But it will takes long time to do the same with other robots. Thank you Sunix.
  3. Thank you so much for what you did, and please answer those several question. what program you used to adjust the body ? because there are lines and you removed ! How you did that ? With Blender "Smooth" I get this result. Second, about the "RobotBase_Albedo" image. How you made it ? Photoshop or other programs ? I know about the UV, HeightMap and NormalMap. But from the image i can see only ONE texture. Tell me the steps you did to get this shape of the robot. This is important for me. Please don't make fun of mt robot. I know the basics but i can't get good appearance for my robot. That really disappoint me.
  4. I made a robot and I don't know what kind of texture can i use for it. Using colors as texture gives me bad result. I need someone texturing the main parts from his mind. Robot Link Also, I appreciate any advise from you.
  5. I wast looking for something like this one. Thank you
  6. Hi I need help with this script. This script about lightning between two objects. My problem is with the end of the Line Render. It should end at second object position. But is not. I need it to follow the second object. and make a range if second object get close, lightning strike him. https://s23.postimg.org/wpkj98bvf/00000.png private LineRenderer lRend; private Vector3[] points = new Vector3[5]; private readonly int point_Begin = 0; private readonly int point_Middle_Left = 1; private readonly int point_Center = 2; private readonly int point_Middle_Right = 3; private readonly int point_End = 4; public Transform line; // end of the line render. private readonly float randomPosOffset = 0.3f; private readonly float randomWithOffsetMax = 2f; private readonly float randomWithOffsetMin = 1f; private readonly WaitForSeconds customFrame = new WaitForSeconds(0.05f); void Start () { lRend = GetComponent<LineRenderer>(); StartCoroutine(Beam()); } private IEnumerator Beam() { yield return customFrame; points[point_Begin] = transform.position; // start line points[point_End] = line.transform.position; // end Line CalculateMiddle(); lRend.SetPositions(points); lRend.SetWidth(RandomWidthOffset(), RandomWidthOffset()); // i get error here (" UnityEngine.LineRenderer.SetWidth(float, float)' is obsolete: 'SetWidth has been deprecated. Please use the startWidth, endWidth, or widthCurve properties instead. ") StartCoroutine(Beam()); } private float RandomWidthOffset() { return Random.Range(randomWithOffsetMin, randomWithOffsetMax); } private void CalculateMiddle() { Vector3 center = GetMiddleWithRandomness(transform.position, line.position); points[point_Center] = center; points[point_Middle_Left] = GetMiddleWithRandomness(transform.position, center); points[point_Middle_Right] = GetMiddleWithRandomness(center, line.position); } private Vector3 GetMiddleWithRandomness (Vector3 point1, Vector3 point2) { float x = (point1.x + point2.x) / point_Center; float finalX = Random.Range(x - randomPosOffset, x + randomPosOffset); float y = (point1.y + point2.y) / point_Center; float finalY = Random.Range(y - randomPosOffset, y + randomPosOffset); return new Vector3(finalX, finalY, 0); }
  7. shokria.
  8. I'm trying to make electronic spell like this one the result is too bad. can anyone give me clues or information to make it ?
  9. Sorry, i can't understand you. Now, this script close is to Mario Kart. What i'm doing is something close to "WipeOut". my car "without wheels" or ship moves exactly as i want IF "ClampMagnitude" line removed from the script. but will be not limit for the speed. Is there anything else can help me rather than "ClampMagnitude" or "velocity" ?
  10. Thank you for your replay. I did the same thing but different. I used bool, when nitro is ON, the max speed change. Now, i get black to the first problem. which is before reaching the max speed it should slow a bet down. the same thing when nitro is OFF. It has to be reducing the speed. using UnityEngine; using System.Collections; public class mv : MonoBehaviour { public float speed; public int myspeed; private Rigidbody rb; private Vector3 movs; public bool nitro; private float maxVelocity = 10f; void Start() { rb = GetComponent<Rigidbody>(); } void Update() { rb.AddForce(movs * speed); float yspeed = rb.velocity.magnitude * 3.6f ; myspeed = (int)yspeed; float moveHorizontal = Input.GetAxis("Horizontal"); float moveVertical = Input.GetAxis("Vertical"); movs = new Vector3(moveHorizontal, 0.0f, moveVertical); rb.AddForce(movs * speed); rb.velocity = Vector3.ClampMagnitude(rb.velocity, maxVelocity); if (Input.GetKey(KeyCode.V) ) { nitro = true; } else { nitro = false; } if (nitro == true) { maxVelocity = 15; } else { maxVelocity = 10; } } // end update }
  11. Hi My problem with my old script is the max speed. When i reach the max speed of my car, I can't make a dash "Like nitro" because i reach max speed. How to fix this ? One more thing, I go from 0 to 100 just in seconds. How to make it slow a bet down before reaching the max speed ? example: my max speed is 200. if i press V i can reach 240. If nitro finished it back to 200. Like any race game. using UnityEngine; using System.Collections; public class carSpeed : MonoBehaviour { public float speed = 10; public int myspeed; // K/H private Rigidbody rb; private Vector3 movs; void Start() { rb = GetComponent<Rigidbody>(); } void Update() { rb.AddForce(movs * speed); float yspeed = rb.velocity.magnitude * 3.6f ; myspeed = (int)yspeed; float moveHorizontal = Input.GetAxis("Horizontal"); float moveVertical = Input.GetAxis("Vertical"); movs = new Vector3(moveHorizontal, 0.0f, moveVertical); float maxVelocity = 20f; rb.AddForce(movs * speed); rb.velocity = Vector3.ClampMagnitude(rb.velocity, maxVelocity); if (Input.GetKey(KeyCode.V)) { rb.AddForce(movs * speed * 20); // dash or nitro } } // end update }
  12. Thank you so much man. [Solved]
  13. Thank you guys for you replies. I tried all what you wrote and nothing change. I'm using only material without texture.
  14. My script is about an object, If i get close color.a disable. public Transform target; public float distance; void Start() { } void Update () { distance = Vector3.Distance(gameObject.transform.position, target.transform.position); Color32 object_color; object_color= gameObject.GetComponent<Renderer>().material.color; if (distance <= 5) { object_color.a = 1; } else { object_color.a = 255; } } but it never change or update ?
  15. Thank you so much. [Solved]