![]() |
onwallpoly({polystuff})
1 Attachment(s)
It's been proposed before but not even acknowledged. Can we please get an onwallpoly({polystuff}) that returns the x/y of the onwall/notonwall intersections?
Attached is an example. Say the white lines are the onwallpoly checks(of course, invisible). The yellow dots is what is returned in an array in the form of: this.onwall=onwallpoly({polystuff}); Then this.onwall would be: {{firstx,firsty},{secondx,secondy}} and so on and so forth. This would allow more complicated checks and systems(like cars, lighting effects and such) to be done without having to run long loops that slow down Graal. |
Mang, that would be nice!
|
Do this, Stefan. Or I will have to kill you.
|
Quote:
|
Do it please ;o
|
Why not just generate a polygon that is the onwall portion of the polygon presented? ( The polygon returned would be that of the polygon you had minus the not-onwall )
|
Well I figured if you're doing onwall checks, the only thing you're really interested in is the intersects of the wall/offwall... I figured having every onwall pixel the polygon is on returning would be quite a heft chunk of an array.
|
Works for me. Add thus feature
|
That would be awesome for a project I'm doing, please Stefan, add this!
|
| All times are GMT +2. The time now is 10:19 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.