Jump to content

zocElectrode

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zocElectrode

  • Rank
    Refugee
  • Birthday 05/01/1992

Personal Information

  • Biography
    Network Engineer
  • Location
    Indiana
  1. Steam name: zocElectrode Hours played: 769 Started on Alpha: Alpha 14 Discord name: zocElectrode#5095 Native language: English
  2. Destroyed workbenches don't have any guns. Do you mean the trader sold those things?
  3. Make sure you have the owner's motorcycle unlocked and it should be fine.
  4. I am attaching it to the line line render within unity. It works fine within unity, but when I bundle the asset, it's not working within 7days. Here's the laser script, if that matters: using UnityEngine; using System.Collections; public class Laser : MonoBehaviour { private LineRenderer lr; // Use this for initialization void Start () { lr = GetComponent<LineRenderer>(); } // Update is called once per frame void Update () { lr.SetPosition(0, transform.position); RaycastHit hit; if (Physics.Raycast(transform.position, transform.forward, out hit)) { if (hit.collider) { lr.SetPosition(1, hit.point); } } else lr.SetPosition(1, transform.forward*5000); } }
  5. Hi SDX team! I've lurked on the forums for a while and loved working with your tools. Thank you for the work you put into this stuff. It's incredible. I am attempting to replace a flashlight with a laser sight using sdx. I believe there is some intricacy I have overlooked regarding putting scripts into the game, as the laser script is not turning on when I activate my gun-mounted flashlight. It's supposed to extend a line render to a distance until collision. If you get a moment to spare, could you please provide me with some insight regarding this topic? Thank you so much.
×
×
  • Create New...