How to Make Basic Projectile Impact Effects in Unity (Unity C# Tutorial)

preview_player
Показать описание
In this Unity C# tutorial, I teach you guys how to make basic projectile impact effects.

#unity #gamedev #unity3d

This tutorial is a follow-up to this tutorial:

*Script will be in pinned comment.*

For more Unity tutorials like this or more videos in general - be sure to like, comment, and subscribe for more! 👍

Play Beware The Night Guard:

Wishlist Bodhi 'n' Friends on Steam now:

Follow me on Twitter:

Try out my games:

My Website:

Subscribe to my Second Channel:

Join my Discord:

Facebook Page:
Рекомендации по теме
Комментарии
Автор

Attach this script to the object of your bullet/projectile that has a collider and Rigidbody:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class disableBullet : MonoBehaviour
{
public GameObject hitEffect;

void OnCollisionEnter(Collision other)
{
GameObject hitObj = Instantiate(hitEffect, this.transform.position, this.transform.rotation);
hitObj.SetActive(true);
Destroy(this.gameObject);
}
}

Omogonix
Автор

Faz um playlist de como fazer um jogo de terror estilo bodhing e friends😉🇧🇷

sbgamesentertainment
Автор

is part 9 about creating a field of view in unity still not upload yet?

kevrim