{"id":20290062,"url":"https://github.com/extrys/dots-triggers-for-gameobjects","last_synced_at":"2025-03-04T04:42:09.623Z","repository":{"id":191611983,"uuid":"482583526","full_name":"Extrys/DOTS-Triggers-For-GameObjects","owner":"Extrys","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-21T16:52:40.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T08:52:26.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Extrys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-04-17T17:02:29.000Z","updated_at":"2024-07-18T00:36:14.000Z","dependencies_parsed_at":"2023-08-30T17:36:24.740Z","dependency_job_id":"4ac0ca5e-2eba-4794-9614-d0bbd8aea93c","html_url":"https://github.com/Extrys/DOTS-Triggers-For-GameObjects","commit_stats":null,"previous_names":["extrys/dots-triggers-for-gameobjects"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FDOTS-Triggers-For-GameObjects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FDOTS-Triggers-For-GameObjects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FDOTS-Triggers-For-GameObjects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FDOTS-Triggers-For-GameObjects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Extrys","download_url":"https://codeload.github.com/Extrys/DOTS-Triggers-For-GameObjects/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787488,"owners_count":20020099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T15:06:04.819Z","updated_at":"2025-03-04T04:42:09.601Z","avatar_url":"https://github.com/Extrys.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# THIS REPO IS IN WORK IN PROGRESS\n## CURRENT SCRIPTS HAS COMPILATION ERRORS DUE DEPENDENCIES WITH:\n## \"Odin Inspector\", \"UniTasks Extensions\" and \"HybridEZS\"\n\n\n## I Will be working on simplifying these scripts and creating the documentation for their use\n\n### the purpose of this repo is just giving a layer of compatibility between Gameobjets and Dots triggers\nin a way that \"Gameobjects can trigger dots triggers\" (is not so easy but a way to express it)\n\nThis enables the use of physics cathegories from dots, using special attached colliders on gameobjects\n\nthis is great for sparating the phyisics and the \"Phyisic triggers logic\" in your game, this increases the physics performance in areas where your game needs lots of triggers, or dynamic ones\n\nEven you can take advantage of the \"Incompatibility\" between dots physics and gameobjects physics\n\n\n\nwhen you have lots of colliders in a gameobject for giving them complex shapes made with primitives, this comes with a cost, trigger events may be triggered more than once per object and even if the layers can not mutually touch, there still having a little check to see if these can collide\nalso the current physics layering scheme that unity offers, has a problem... **its is directly coupled with the rendering layers!!**,\nand also, each item can just have a single layer set, wich gives problems when you want some objects with the same layers to arbitrary not detect other layers\njust giving headaches for organizing your layers\n\nDots physics cathegories are like layers\nbut just for physics and can be combined in single colliders\nfor example you can have a single collider to have \"item\" layer , and another to have \"player\" layer\nand then you can also have a trigger which just has \"Trigger\" layer\nin Dots physics you can also set with what collides each collider, for example if i want \na trigger that only detects items, i can set a trigger to have \" I am from Trigger layer but only Collide with item\"\nand also can have other trigger with \" I am from Trigger layer but only Collide with player\"\neven have other trigger with \" I am from Trigger layer but only Collide with player and item\"\nthe objects with player and item layers, can also set what layers they want to collide with, you can set multiple, in this case you can set\n\"I m player but i dont collide with Triggers\" then triggers will not collide with player even if they have it set to do so\nso this offers a lot of flexibility with the physics\n\nin the other hand, Unity's default physics layers dont let you do this by default\nso if you want to have a trigger that only detects items, and other trigger that only detects players\nyou will have to create 2 layers (triggerForItems and TriggerForPlayers) increasing the layers you need\n *Yes you can just use a \"Trigger\" layer and do a Tag check, but even doing so, the physics TriggerEnterExit phase occurs, and the Event OnTriggerEnter/Exit/Stay still getting called from c++ wich is not fast*\n \n //Documentation and Code are in progress\n\n\n# DOTS-Triggers-For-GameObjects\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrys%2Fdots-triggers-for-gameobjects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextrys%2Fdots-triggers-for-gameobjects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrys%2Fdots-triggers-for-gameobjects/lists"}