Game Development Community

Tiles & Physics

by Toby Mckenzie · in Torque Game Builder · 02/10/2006 (11:37 am) · 1 replies

Probably a very dumb question but have been searching through the docs and could not see anything about how you apply physics properties to tiles. I.e I have a particular tile type and I want it to have higher / lower friction for example. Can anyone point me in the direction of this please.

--Toby

#1
02/11/2006 (1:56 pm)
In the custom script for the tile add the setFriction() function ? That would (I'm guessing) be the easy way. If you want to do something more custom you may need to add a custom data block to the tile and do some tests within the script itself.