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.

PizzaMan

Newbie
  • Content count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About PizzaMan

  • Rank
    Newbie
  • Birthday December 29
  1. Bird Scare Pack

    amazing effect thank you
  2. Pickup up and moving an abject?

    using UnityEngine; using System.Collection; public class PickupObject : monoBehaviour{ GameObject mainCamera; bool carrying; GameObject carriedObject; public float distance; void Start(){ if(carrying){ carry(carriedObject); }else{ pickup(); } } void carry(GameObject o){ o.rigidbody.isKinematic = true; o.transform.position = mainCamera.transform.position + mainCamera.transform.forward * distance; } void pickup(){ if(imput.GeyKeyDown (KeyCode.E)){ int x = Screen.width / 2; int y = Screen.height / 2; Ray ray = mainCamera.camera.ScrenPointToRay(new Vector3(x,y)); RaycastHit hit; if(Physics.Raycast(ray,out hit)){ Pickupable p = hit.collider.GetComponet<Pickupable>(); if(p!=null){ carrying=true; carriedObject=p.gameObject; } } } } try this hello
  3. Script Pause Unity 5

    How beautiful 4 lines of code are so effective. Thank you
  4. Target locator in HUD

    But I adore it exceptionally. I've been looking for it for some time... Thank you very much.
  5. Basic Inventory System

    For me it works Just downloaded with chrome Thank you
  6. Sorry i'm not good enough .... I can not make it work ... Thanks anyway
  7. Good Day to Everyone

    Good Day to Everyone I am a new enthusiast of unity, I hope to find support and advice from all of you. Thank you
×