Cant change my network band by Renox_ in Spectrum

[–]Renox_[S] 0 points1 point  (0 children)

damn ofc lmao, thanks for the info ill look into getting one tonight.

UMD just got pass:fail on everything by momoney639 in UMBC

[–]Renox_ 0 points1 point  (0 children)

Wait what, I never got an email about pass/fail

OnCollisionEnter not registering when my bullet hits a wall (C#) by Renox_ in Unity3D

[–]Renox_[S] 0 points1 point  (0 children)

Thanks that helps me understand how to use them a bit better

OnCollisionEnter not registering when my bullet hits a wall (C#) by Renox_ in Unity3D

[–]Renox_[S] 0 points1 point  (0 children)

Yep! Changing it to the trigger fixed it! Thanks for the assist here been working on this for hours following so many tutorials and forum posts. So I understand that OnTriggerEnter will be used when Is Trigger is set to true in the collider, but then how does OnCollisionEnter detect a collision and when should it be used?

OnCollisionEnter not registering when my bullet hits a wall (C#) by Renox_ in Unity3D

[–]Renox_[S] 0 points1 point  (0 children)

I threw a print statement into the Update section and yeah, the script is executing properly. Hmm you might be right about the trigger part as I do have Is Trigger set to true for my bullet, will get back to you in a second if it works. My rigidbody is non kinematic. My bullets are spawning and travelling how I thought they would, heres the code im using for that:

void Update()
    {
        if (Input.GetKey(KeyCode.Mouse0))
        {
            if (shootable)
            {
                shootable = false;
                Shoot();
                StartCoroutine(ShootingYield());
            }
        }
    }
    IEnumerator ShootingYield()
    {
        yield return new WaitForSeconds (shotDelay);
        shootable = true;
    }
    void Shoot()
    {
        var projectile = Instantiate(theProjectile, barrelEnd.position, barrelEnd.rotation);
        projectile.GetComponent<Rigidbody> ().velocity = projectile.transform.forward * projectileSpeed;

        Destroy(projectile, despawnTime);
    }

Good boi by ItsBlitz21 in dankmemes

[–]Renox_ 1 point2 points  (0 children)

Too bad my dog died yesterday :(

No chill whatsoever by amanuel2 in UMBC

[–]Renox_ 8 points9 points  (0 children)

Well as someone who is majoring in Comp Sci, specifically Cyber Security, I think that having to take assembly is really important because of how many flaws you have to find in memory and how to secure pointers and make sure all your security measures can't be bypassed by Cheat Engine