Jump to content
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.

Search the Community

Showing results for tags 'controller'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GENERAL
    • Introduce yourself
    • Discussions
    • Showcase
    • Need help?
    • Seeking team members?
    • Offtopic
  • RESOURCES
    • Example Projects
    • Scripts
    • Shaders
    • Unity Tutorials
    • FPS Kit Tutorials
    • 3D models
    • Animated 3D Models
    • Graphic design
    • Textures
    • Sounds
    • Other
  • SELL | REQUEST
    • Sell
    • Request
  • Mars' Modular Multiplayer Photon FPS Kit's Topics
  • Mars' Modular Multiplayer Photon FPS Kit's Reviews
  • Mars' Modular Multiplayer Photon FPS Kit's Updates
  • Mars' Modular Multiplayer Photon FPS Kit's Tutorials
  • Busy People's Introductions
  • Photon's Tutorials
  • Photon's Photon General
  • Photon's Showcase

Categories

  • Free Projects
  • Free Assets
  • Game Demos
  • Photon's Files

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


YouTube URL


Facebook URL


Twitter URL


IndieGoGo URL


Kickstarter URL


IndieDB URL


GreenLight URL


Location:


Interests

Found 10 results

  1. I want to convert this script to play my game in android. This control helicopter using keycode i want to control it by using canvas button.Please Help. HelicopterController.cs
  2. Hello, i'm trying to make a RPG game with multiplayer, not so hard with what i can program so far. But what im really struggling about is Third Person controller Animator help, i dont want to use the default TPC (Third Person Controller) that comes with Unity Standard Assets. I want to create my own, by using the Male Locomotion pack from Mixamo.com, then i search around on how to make a simple third person controller, and then there are a lot of good videos. But one problem is in every video, the problem is that i dont want to use the Walk_Turn or Run_Turn animations for turning while walking or running, i want to have a free camera so if i change my view to the right with right mouse button then the character will run or walk that direction. The camera of course follows the character behind. So this is what i really am asking help for : -Simple Animator with c# script -FreeCameraLook.cs script -Character walking the direction the camera is pointing (Can only run / walk on the X axis or Z axis, not up or down) Thanks in advance if someone find good tutorials and post them down in the comment section, and of course thanks a lot for those who try to help!
  3. Hi guys, Character, moving with the mouse. But, I want to improve it. E.g, Problem ; How do we do this? So, one way?
  4. HigorKlein

    drive system

    Vehicle system controller fps kit with the soldier's vision. download demo
  5. So this is a new test for my FPS controller that i might use for future projects. I will need you'r guys feedback. Thanks! https://dl.dropboxusercontent.com/u/61522125/Test/Test.html
  6. so i have this code for my character, but the jumping doesnt work. When i press space, the character simply teleports to a higher position void FixedUpdate() { moveDirection = new Vector3 (Input.GetAxis ("Horizontal") / 2, 0, Input.GetAxis ("Vertical")); moveDirection = transform.TransformDirection (moveDirection); moveDirection *= speed * sppedmultiplier; if ((Input.GetAxis ("Vertical") > 0.5f) && running) sppedmultiplier = 2; else sppedmultiplier = 1; if (GetComponent<CharacterController> ().isGrounded) { if (Input.GetButtonDown ("Jump")) moveDirection.y = jumpSpeed; } moveDirection.y -= gravity * Time.deltaTime; GetComponent<CharacterController> ().Move (moveDirection * Time.deltaTime); }
  7. Hi everyone ! I have a problem ... I tried everything i was able to try ... I also used GUI buttons ... but when I was pressing right and left arrows ... the player was just facing in that direction ... but no move ... and about jump button ... my player jumps that many times that I press the jump button... If I'm using the Pc controls, "A" "D" and "Space", everything works fine ... What is the problem ? So how I can add GUI controls ? Here is my Script : using UnityEngine; using System.Collections; public class Player : MonoBehaviour { private bool _isFacingRight; private CharacterController2D _controller; private float _normalizedHorizontalSpeed; public float MaxSpeed = 8; public float SpeedAccelerationOnGround = 10f; public float SpeedAccelerationInAir = 5f; public bool IsDead { get; private set; } public void Awake(){ _controller = GetComponent<CharacterController2D>(); _isFacingRight = transform.localScale.x > 0; } public void Update() { if (!IsDead) HandleInput(); var movementFactor = _controller.State.IsGrounded ? SpeedAccelerationOnGround : SpeedAccelerationInAir; // Resharper disable ConvertIfStateToConditionalTernaryExpression if(IsDead) _controller.SetHorizontalForce(0); else _controller.SetHorizontalForce(Mathf.Lerp(_controller.Velocity.x, _normalizedHorizontalSpeed * MaxSpeed, Time.deltaTime * movementFactor)); } public void Kill() { _controller.HandleCollisions = false; collider2D.enabled = false; IsDead = true; _controller.SetForce(new Vector2(0, 20)); } public void RespawnAt(Transform spawnPoint) { if (!_isFacingRight) Flip(); IsDead = false; collider2D.enabled = true; _controller.HandleCollisions = true; transform.position = spawnPoint.position; } public void HandleInput() { if (Input.GetKey(KeyCode.D)) { _normalizedHorizontalSpeed = 1; if (!_isFacingRight) Flip(); } else if (Input.GetKey(KeyCode.A)) { _normalizedHorizontalSpeed = -1; if (_isFacingRight) Flip(); } else { _normalizedHorizontalSpeed = 0; } if (_controller.CanJump && Input.GetKeyDown(KeyCode.Space)) { _controller.Jump(); } } private void Flip() { transform.localScale = new Vector3(-transform.localScale.x, transform.localScale.y, transform.localScale.z); _isFacingRight = transform.localScale.x > 0; } }
  8. I need a good rigidbody example in C#. I am not finding any good example
  9. Version 1.0

    195 downloads

    This package comes with everything you need to make 2D platformers in Unity3D including a demo scene.
  10. Afro-Spirit This is a game I started a while ago. You will become Afro-Ninja who must fulfil an unexpected prophecy. You travel to a man named Kejugi to be taught the way of kung-fu (that becomes the tutorial stage.) Later in time, a sacred jar containing the spirit of an evil demon breaks, causing it to be released and escape into the world. The only way to send him back to to retrieve 30 gems that wield the power to send his spirit in to an eternal afterlife. So the objective of the game is to retrieve the gems and send the evil spirit to his eternal doom. Features fun gameplay and great mo-cap animations thanks to Mixamo Collect 150 coins in each level to unlock a secret stage Awesome royalty-free music provided by Kevin Macleod at Incompetech.com Slow Motion script by BlackStorm Pretty much everything else is by me (of what I can remember...) I'm planning on adding more objects and scenery to liven the beach level. I also need to make my moving platforms work and add enemies to the scene. More levels in the future! Link to the video:
×
×
  • Create New...