View Single Post
  #1  
Old 12-29-2007, 10:11 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
onwallpoly({polystuff})

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.
Attached Thumbnails
Click image for larger version

Name:	polytest.PNG
Views:	120
Size:	7.4 KB
ID:	43637  
Reply With Quote