This tutorial shows how to darg and shoot 3d objects in Unity using OnMouse events and AddForce method of RigidBody.
The game object is dragged by the mouse and shoot with the release.
There are some extra information points through the video, such as:
🎯 How to require Collider component using RequireComponent,
🎯 Small vector direction explanation,
🎯 Creating an example demonstration from an empty game object.
👇
If you want to see more of this kind of videos, please give this one a LIKE and SUBSCRIBE for future ones. Comments & Feedbacks are always appreciated.
👆
🏹 Subscription Shortcut:
/ @devsplorer
👋 If you are new here check out the CHANNEL TRAILER:
• Welcome To Devsplorer | Game Dev Chan...
Videos Of Drag&Shoot Series:
👉 Drag&Shoot Tutorial
• How To Drag And Shoot 3D Objects in U...
👉 Create a Spawner Tutorial
• How To Spawn 3D Objects in Unity | Cr...
👉 Make Spawn Stick Tutorial
• How To Stop RigidBody On Collision in...
👉 Change Spawn Material Tutorial
• How To Change Material On Collision i...
👉 Stand-Alone Automatic Shooter
• How To Create Auto Shooter In Unity |...
👉 👉 Draw Trajectory With Force Or Velocity Shooting
• How to DRAW TRAJECTORY For Physics Th...
0:00 Introduction & Demo
0:57 Future Plans For Series
1:15 Script/RequireComponent Demo
2:15 Create a New Object
3:05 Back to Variables
4:00 OnMouse Events
4:25 Create Force Vector/Direction of Drag
6:13 Shoot Function
7:22 Last Demo
7:38 Future Plans Remastered
8:20 Plea for Feedback
🌟 Drag & Shoot Script:
https://gist.github.com/seferciogluec...
#unityTutorial #MouseEvent #DragAndShoot
Here are some written tutorials: https://devsplorer.wordpress.com/
I generally share sneak peeks of the next mechanics 👁🗨
Twitter: / eccegd
Instagram: / devsplorer
Also, If you would give feedback on the overall performance of the video you would make me very happy. I plan to make more videos and want to improve along the way and, each feedback is precious.
Even though I have been(!) using my microphone for the last couple of videos, it turned out It wasn't set as the default device on the recorder program, and I have been recording with my laptop's microphone. In this video, it was changed. Now how does the video sound? Is it maybe too loud this time?
Have A Great Day!
See you in the next explorations 🙋♀️