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 Update](https://i.ytimg.com/vi/BFbjk7XloCU/default.jpg)
![Asset Forge Build - Small Spacecraft Docking Station](https://i.ytimg.com/vi/5jsEcfLYTtM/default.jpg)
![Unity3D Shader Graph Introduction](https://i.ytimg.com/vi/0_7OQMYkLTA/default.jpg)
![An Easy Way for You to Make Models for Your Games](https://i.ytimg.com/vi/vmkxy4C88ac/default.jpg)
![Post Processing and Scripted Light Intensity](https://i.ytimg.com/vi/VeTn4CK_reg/default.jpg)
![Blender Modeling Basics Part 1](https://i.ytimg.com/vi/ghGQ0zBjxw0/default.jpg)
![Make a Low-Poly Pumpkin in Blender](https://i.ytimg.com/vi/DRRat-7GAfE/default.jpg)
![Asset Forge Build Space Outpost](https://i.ytimg.com/vi/2kxvdoUn1IM/default.jpg)
![Setting Up a Small Space Scene In Unity](https://i.ytimg.com/vi/w_ihV-NV8gY/default.jpg)
![Simple Enemy Behavior in Unity3D](https://i.ytimg.com/vi/MKjOgeugbyw/default.jpg)
![Asset Forge Build - Submarine](https://i.ytimg.com/vi/wWAokctAxkk/default.jpg)
![Tips for Getting Past a Creative Block](https://i.ytimg.com/vi/s1gJVqasseo/default.jpg)
![Projectiles and Collisions Introduction](https://i.ytimg.com/vi/71XJrXGr3A8/default.jpg)
![Making Space Ships Go Boom Unity3D](https://i.ytimg.com/vi/TUj6qYabcd4/default.jpg)
![Asset Forge Build - Space Station](https://i.ytimg.com/vi/OBXNz2Ic2l8/default.jpg)
![A Modest Menu System in Unity3D](https://i.ytimg.com/vi/Z_2PQqQiaF0/default.jpg)
![Asset Forge Build Along - Another Space Fighter](https://i.ytimg.com/vi/I_yqjSfvMmw/default.jpg)
![Simple Enemy Ship Behavior Minor Update](https://i.ytimg.com/vi/RpkLeO6nCxo/default.jpg)
![Brief Update and Asset Forge Build](https://i.ytimg.com/vi/tNGSoyN4OMc/default.jpg)
![Spaceflight Controls Revisited](https://i.ytimg.com/vi/FOMOaL8V8xo/default.jpg)