Setting Up a Simple Laser System
In this video a basic laser system is added to a space scene. A lot of optimization is still needed, but adding a new laser to the scene is as simple as dragging in a prefab.
Models were built in Asset Forge by Kenney (see link below for more information).
https://kenney.nl/tools/assetforge
Scene was set up in Unity3d.
The basic steps for creating a simple laser system based on this video are:
1. Creating a basic Laser Emitter as an empty game object, and making it a prefab.
a. Add a script that takes a prefab, and a fire rate
b. Instantiate a laser at the transform of the emitter
2. Create a laser prefab, starting from an empty game object, which has:
a. A script that moves the laser, and destroys itself it after so many seconds
b. A cylinder that is:
i. Rotated on X by 90 degrees
ii. Translated on Z so the origin is at 0
iii. Scaled an appropriate size on all dimensions.
Видео Setting Up a Simple Laser System канала Bit Galaxis
Models were built in Asset Forge by Kenney (see link below for more information).
https://kenney.nl/tools/assetforge
Scene was set up in Unity3d.
The basic steps for creating a simple laser system based on this video are:
1. Creating a basic Laser Emitter as an empty game object, and making it a prefab.
a. Add a script that takes a prefab, and a fire rate
b. Instantiate a laser at the transform of the emitter
2. Create a laser prefab, starting from an empty game object, which has:
a. A script that moves the laser, and destroys itself it after so many seconds
b. A cylinder that is:
i. Rotated on X by 90 degrees
ii. Translated on Z so the origin is at 0
iii. Scaled an appropriate size on all dimensions.
Видео Setting Up a Simple Laser System канала Bit Galaxis
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Brief UpdateAsset Forge Build - Small Spacecraft Docking StationUnity3D Shader Graph IntroductionAn Easy Way for You to Make Models for Your GamesPost Processing and Scripted Light IntensityBlender Modeling Basics Part 1Make a Low-Poly Pumpkin in BlenderAsset Forge Build Space OutpostSetting Up a Small Space Scene In UnitySimple Enemy Behavior in Unity3DAsset Forge Build - SubmarineTips for Getting Past a Creative BlockProjectiles and Collisions IntroductionMaking Space Ships Go Boom Unity3DAsset Forge Build - Space StationA Modest Menu System in Unity3DAsset Forge Build Along - Another Space FighterSimple Enemy Ship Behavior Minor UpdateBrief Update and Asset Forge BuildSpaceflight Controls Revisited