Community Forum

Contact reports

Forum Overview >> Scripting

CategoryScripting
Created02.09.2009 11:23


Thorsten Mueller (Unknown) 02.09.2009 11:25
Hi,

i want test via lua script, if an element touches the ground of the map to start another function.
How is it possible?

Thanks
Thorsten

Stefan Geiger - GIANTS Software 02.09.2009 17:15
You can use the contact report mechanism.

See the documentation here:
http://gdn.giants.ch/documentation_scripting.php#function_physics_addContactReport


Note: Log in to post. Create a new account here.