Triggers and PZones
by Kevin Mitchell · in Torque 3D Professional · 06/13/2009 (3:36 pm) · 9 replies
Are these gone or broken? I've ported working and Trigger objects but it was missing a create and when i made one it imports but its no where to be found in the scene.. not even XYZ data in the menu. Beta 3 Maybe?
About the author
Riding Solo since 2005. Current Project: Fated World 2005-Present RPG Engine Tool Kit - Now available.
#2
Haven't tried using any pZones in Torque3D yet though.
And since post#1 seems totally unrelated to your OP I haven't a clue what you're trying to do there.
06/13/2009 (8:29 pm)
I posted some code a week or two back with a working level change trigger, so triggers definitely work and I've had no problems dropping one through the editor. Haven't tried using any pZones in Torque3D yet though.
And since post#1 seems totally unrelated to your OP I haven't a clue what you're trying to do there.
#3
So since I know that a trigger isnt a static shape I tried using the waypoint and spawnsphere as the object type thinking it would finally give me something in 3d space but it didn't. Maybe i'm confused.
06/14/2009 (3:13 am)
Well the orginal problem was the fact that i used a trigger amd it said i needed a create and when i did make a create for it, nothing showed up in the scene but the trigger object in the object list. But no physical object in 3d space. This seemed liek the same thing that happened when I tried making my AI characters but i know i added a object create inside the create and got it to to work. So since I know that a trigger isnt a static shape I tried using the waypoint and spawnsphere as the object type thinking it would finally give me something in 3d space but it didn't. Maybe i'm confused.
#4
06/14/2009 (3:25 am)
So pretty much I'm trying to get the trigger to show upin the 3d space... and its not.
#5
06/14/2009 (6:39 am)
Tell you what. Show me the datablock for the trigger and lets see what the problem is.
#6
06/14/2009 (8:03 am)
Hmm, I didn't have to make a create function in order for my triggers to work. You do know that triggers don't have a shape don't you? They are just a location and area boundary defined through it's properties.
#8
06/14/2009 (8:20 am)
I think I may know what I did wrong ... I'll check when i get home for sure but thanks for your help. I think you have to assign a trigger class to the trigger u drop into the scene not make a scripted object out of a trigger. Which is what i think i did.
#9
06/14/2009 (11:46 am)
That was my exact problem ... i forgot that trigger types are selected when dropping a trigger into a field... Sorry for the bother and thanks to all that helped.
Torque Owner Kevin Mitchell
12 CatBlack Studios
%obj = new WayPoint() { dataBlock = %block; }; return(%obj);%obj = new SpawnSphere() { datablock = %block; }; return(%obj);both give me error.
I don't get y i cant use them as the actor cause they are used for way points and spawns.