Triggers... Grrrr!
by Mike "wowo" Miller · in Torque Game Engine · 01/16/2003 (6:12 pm) · 1 replies
Hi,
I'm creating a player as a FlyingVehicle rather than a Player using the following code:
The problem is, that I can't trigger any triggers. Does anyone know what I'm doing wrong? I put an echo() in onLeaveMissionArea in game.cc, but it never shows up when I leave the mission area.
[edit]
Stupid mistake on my part.... I think the normals for the polyhedron got inverted somehow :)
[/edit]
Thanks!
Mike
I'm creating a player as a FlyingVehicle rather than a Player using the following code:
%player = new FlyingVehicle() {
dataBlock = airscout;
client = %this;
};
MissionCleanup.add(%player);The problem is, that I can't trigger any triggers. Does anyone know what I'm doing wrong? I put an echo() in onLeaveMissionArea in game.cc, but it never shows up when I leave the mission area.
[edit]
Stupid mistake on my part.... I think the normals for the polyhedron got inverted somehow :)
[/edit]
Thanks!
Mike
Torque Owner Robert Brower
Anyways, here's the Item thing.
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3792
Robert