!onCollision
by Phillip "Renolc" Gibson · in Torque Game Builder · 03/30/2005 (7:05 pm) · 4 replies
Just a quick question that I haven't found yet in the Docs:
I know you can check for collisions via the onCollision function, but is there a way to check if there aren't any collisions?
My goal is to have an invisible square at the players spawn point. If something is blocking that spot, I want to set a flag to delay the spawn until it is clear. How would I go about doing this?
EDIT: changed some words to make more sense. =)
I know you can check for collisions via the onCollision function, but is there a way to check if there aren't any collisions?
My goal is to have an invisible square at the players spawn point. If something is blocking that spot, I want to set a flag to delay the spawn until it is clear. How would I go about doing this?
EDIT: changed some words to make more sense. =)
#2
Thanks! Now works great!
03/30/2005 (7:52 pm)
I actually tried that once, but I couldn't quite figure out the syntax. But thanks to you, I now know that I was forgeting the scenegraph part. >.<Thanks! Now works great!
#3
How do you go about disabling the gui editor? I have everything else disabled that I wish to, but I can't seem to find where to unbind and/or delete the appropriate files. I did a full surch for 'F10' and came up with nothing in all the files.
03/30/2005 (10:05 pm)
Since this isn't a very big question, I decided to hijak my own thread =OHow do you go about disabling the gui editor? I have everything else disabled that I wish to, but I can't seem to find where to unbind and/or delete the appropriate files. I did a full surch for 'F10' and came up with nothing in all the files.
#4
03/30/2005 (10:21 pm)
It's in the common folder.
Torque Owner Tim Doty