Wall Detection Tool. Update 25th May 2019 by XxHARAMBExX#2452
This code is over 6 months old. The code may have expired and might no longer function.
Wall + Normal Detection - Code: 91AT2
Stats/Info for Wall + Normal detector
- Player Variable Q (at index 1) returns 1 if on wall, 0 if not on wall
- Player Variable Q (at index 2) will return normal of detected wall
- Player Variable Q (at index 0) = detection range
- Max response detection time 0.032-0.048 secs
- Adjustable detection range (recommended range: 0.8 < Value < 1.2)
- Precision of Normal Vector on Round objects: ~11.125°
- Performance friendly (Only one RayCast per tick)
- Only 2 rules to copy (+ initialization of Q at index 0)
- few Variables used: Q#0; Q#1; Q#2
_________________________________________________________________________________________
You can copy paste this code in your private projects, but if you end up using it please give this post a like so other people see that this is a public code available for everyone. Also this particular code took long to come up with. It would be nice if you give some small credit if you make it public Thanks :)
_________________________________________________________________________________________ _________________________________________________________________________________________ _________________________________________________________________________________________ _________________________________________________________________________________________ Round Objects | Apply Impuls in derection of (Wall Normal + (Up*0,5)) _________________________________________________________________________________________ _________________________________________________________________________________________ _________________________________________________________________________________________ Walk by _________________________________________________________________________________________ _________________________________________________________________________________________ _________________________________________________________________________________________ _________________________________________________________________________________________ # Wall Detection Only - Code: 0JGS7 _________________________________________________________________________________________ _________________________________________________________________________________________ Stats/Info for Wall detector _________________________________________________________________________________________ - Dont click into the big condition, it may crash your game. Dont click be happy.
- Player Variable S returns 1 if on wall, 0 if not on wall
- Player Variable R = detection range
- Max response detection time 0.032secs - 0.048secs
- Adjustable detection range (min 0.6m, max consistent 2,5m)
- Performance friendly
- Only 2 rules to copy
- Very few Variables used (R + S)
_________________________________________________________________________________________
You can copy paste this code in your private projects, but if you end up using it please give this post a like so other people see that this is a public code available for everyone. Thanks :)
_________________________________________________________________________________________ _________________________________________________________________________________________
An Example | Not included in the code!
Have Fun
Archival Notice
This post was originally hosted on workshop.elohell.gg, a site which is no longer online. If this was originally your post, you may click the button below to transfer this post to your Workshop.codes account or delete this post entirely.
Archive Actions