## This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

# geckoo

Moderators

2,195

57

1. ## Shooting range WIP.

Nice attempt but you did better
2. ## Breakable Glass

3 years old? It seems to me that this is a record here no?
3. ## Vector3.Dot

Thank you OcularCash for your answer - and the explanation. I don't understand Vector3.Dot because even after many alternatives, I have always the same result. I changed my code for another function which works as expected. it allows to know exactly each position - one over the other : bool isBehind(GameObject ply) { var sum = Mathf.DeltaAngle(ply.transform.rotation.eulerAngles.y, this.transform.rotation.eulerAngles.y); if (sum > -45.0f && sum < 45.0f) // a large cone behind the player return true; else return false; } If sum is ranged between -135 and 135, it means that the transform is toward its target, If sum is ranged between -45 and 45, it means that the transform is behind its target, If sum is ranged between -135 and -90, it means that the transform is at right of its target, If sum is ranged between 135 and 90, it means that the transform is at left of its target.
4. ## Vector3.Dot

Hi friends. I am trying desperately to understand Vector3.Dot in order to check if an enemy hits the player from behind. I read the explanation which has been written by Unity, but something is still unintelligible. I have always the same value - face to enemy and turn back. Maybe I did a mistake? Thank you for your help ++ https://docs.unity3d.com/ScriptReference/Vector3.Dot.html bool isBehind(GameObject ply) { Vector3 forward = this.transform.TransformDirection(Vector3.forward); Vector3 toOther = ply.transform.position - this.transform.position; // this script is attached on my enemy // we look in the same direction - so it hits me from behind no? if (Vector3.Dot(forward, toOther) > 0.0f) return true; else return false; }

6. ## Chilvary : Medieval warfare

Hi fellows. You should add Chivalry: Medieval Warfare to your Steam account and play for free. This offer starts today - until March 28th at 10AM Pacific Time. However, once you add the game it will remain in your account after the free period. So don't miss out on this opportunity to play this first-person multiplayer slasher which has a good rate... A game for free ++ http://store.steampowered.com/news/28406/
7. ## Installation 01 Multiplayer Q&A

Probably one of the most beautiful and interesting projects which I have ever seen under Unity... Now I remember my scepticism and you finally convinced me. Really good work - except some animations which could be better ++

9. ## Help With Grappling Hook...

Merry Xmas and happy new year
10. ## Paxitium Update 3 Teaser

Neat. Have you did by yourself those weapons and arms? I like them ++
11. ## Trigger

Here you can find some scripts which could be useful : http://wiki.unity3d.com/index.php?title=FadeInOut I use in my project the script which has been developed by Kentyman - the third. It seems to me that it is the best... You must set the initial color and then call the function so as to start th FX : SetScreenOverlayColor(new Color(0,0,0,1)); // black opaque StartFade(new Color(1,0,0,1), 5); // to red opaque - 5 seconds As said omard2000, you should use a coroutine in order to wait a while before you load the new scene ++
12. ## Shotgun 3d Model

There is a toon effect which gives at this model a toy aspect, but I like that ++
13. ## Pedestrian AI

I assume that you didn't understand the main rule here. No one wants write something until you did a first attempt. You talk about randomization - this is a first idea which you could experiment. Try to use NavMeshAgent - and (more or less) obviously all is done ++
14. ## Main Menu free project (created by me)

Maybe because it has been edited almost 3 years ago? However I assume that it could be created again without any difficulty using new Canvas (world space). There is a good tutorial here :

nice cars ++
16. ## Errore

Продолжи тратить твоё время, пренебрегая нашими советами... Великая проблема заключается в следующем - элементарные понятия ты не знаешь. Это не упрёк, а только факт. Раз и навсегда будь разумен :/ Где проблема? всё написано здесь - я проверил этот код. И как тебе объяснил OMA, не заблокируй курсор если ты хочешь двигаться : using UnityEngine; public class MyCursor : MonoBehaviour { bool _toggle; void Start() { // cursor is hidden and locked at start Cursor.lockState = CursorLockMode.Locked; Cursor.visible = false; _toggle = true; } void Update() { // it is visible - it will be invisible and locked if (Input.GetKeyDown(KeyCode.Escape) && _toggle == false) { Cursor.lockState = CursorLockMode.Locked; Cursor.visible = false; _toggle = true; } // it is invisible - it will be visible and unlocked else if (Input.GetKeyDown(KeyCode.Escape) && _toggle == true) { Cursor.lockState = CursorLockMode.None; Cursor.visible = true; _toggle = false; } } }
17. ## Scripts not working

Noob request. I guess that you erased your camera filters folder or you displaced them ++
18. ## Send a Email

A little code which shows how to send a Email by a script. As an example, I use gmail. You must had an valid account - or find an anonymous SMTP server. If you know one, share with me its address ++ https://msdn.microsoft.com/fr-fr/library/system.net.mail.mailmessage(v=vs.110).aspx using UnityEngine; using System.Collections; using System; using System.Net; using System.Net.Mail; using System.Net.Security; using System.Security.Cryptography.X509Certificates; public class MailMe : MonoBehaviour { void Start() { // corpus MailMessage mail = new MailMessage(); mail.From = new MailAddress("jojo@gmail.com"); // sender mail.To.Add("jojo@gmail.com"); // receiver mail.Subject = "Hello"; // header mail.Body = "it is just another boring saturday night :)"; // your message SmtpClient smtpServer = new SmtpClient("smtp.gmail.com"); // gmail SMTP smtpServer.Port = 587; // used port for gmail SMTP with SSL // your valid account informations smtpServer.Credentials = new System.Net.NetworkCredential("jojo@gmail.com", "password") as ICredentialsByHost; smtpServer.EnableSsl = true; // SSL option // check relation between sender and SMTP ServicePointManager.ServerCertificateValidationCallback = delegate (object s, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; }; // send mail smtpServer.Send(mail); Debug.Log("success"); // done } }
19. ## FREE RIGGED FPS ARMS

Thank you nice work ++
20. ## Errore

Привет друг мой. Будь уверен, что я не хочу к тебе проявлять неуважение. Тем не менее, сталкиваясь с этой простой проблемой, я думаю, что тебе придется начать проще. Очевидно, читая твои разные комментарии, есть доказательство того, что у тебе нет опыта. Будь мудр! и попробуй понять самое главное - то есть основy. Не спеши! Зачем утратить времени с каким-то проектом, который на самом деле ты не сможешь понять, когда всё доступно здесь и на русском языке? https://unity3d.com/ru/learn Тебе желаю успехов. Никогда не сдавайся!

22. ## Fragments of Euclid

Just a little word to say that you can download for free (or pay-what-you-want) an interesting puzzle game which has been developed by a French IndieDev - NuSan. This is a fun project for those who like burn theirs neurons, enjoying weird experience - something between Antichamber and Portal. The first release has been developed during the last LudumDare session. Objectively this game is just amazing with a good aesthetic and a strange atmosphere. Since Portal, I have never seen anything in my gamer life that is so good and so clever. Even if you don't like this genre, take a look at the video which is really explicit, showing the main gameplay. Have fun ++ https://nusan.itch.io/fragments-of-euclid
23. ## PLS HELP

They said on Asset Store (maybe you didn't read that) : *SMK IS NO LONGER MAINTAINED, AS UNITY 5.1 ONWARDS DOES NOT USE RAKNET, BUT INSTEAD UTILIZES A MUCH SIMPLER NETWORKING SYSTEM. IF YOU AREN'T ALREADY WORKING WITH SMK, OR ARE USING UNITY 5, DON'T BOTHER WITH THIS ASSET - USE THE NEWER UNET SYSTEM. For me all is clear ++
24. ## HDD Problem

I think that your HDD is dying, but you can try to repair it using CHKDSK, but don't hope anything at all - the process has begun and its death is pending... Be careful, with CHKDSK because this command is really powerful - and you can damage your data. However, delivering more information about problems, it would allow you a stability in order to save what you can. Good luck ++ https://technet.microsoft.com/en-us/library/cc730714(v=ws.10).aspx
25. ## Screen recorder HD

Hello! I am trying to do a good video about one of my latest projects - a game which is inspired by my entry for the LudumDare event. I tested many free applications including the tool which is embedded in Windows10, Microsoft Encoder Expression, WebLaunchRecorder, Fraps and more. At last, after many attemps, the best tool is (without any doubt) OBS - it works fine and its interface is intuitive with many features and options. However, in each case, I noticed a big problem with the black color - and my game is particularly dark. For a game with a static camera, the render is perfect, but when camera is moving, I have a jelly on screen - something which is just ugly. Do you know a decent tool (free or not too expensive) with which I could do a video, even for a darkly game? Thank you for your help ++