SDirtySetMask in vehicle.cc replaced with what?
by Edward F. Maurina III · in Torque Game Engine · 12/11/2003 (9:07 pm) · 2 replies
Hello. I'm currently adding turrets based on Paul Dana's resource: Turret & AITurret classes and have run into a bit of a snag.
It looks like this code used to exist in the vehicle.cc file:
However, in the 1_2++ release of the engine code, this code is MIA.
So what I'm wondering is,
1. Where did it go, or better yet what replaced it?
2. If I wanted to add the equivalent of this:
how would I do it?
So, any insight would be greatly appreciated.
Thanks to any taker(s).
[HOW]-Ed
It looks like this code used to exist in the vehicle.cc file:
static U32 sDirtySetMask = PlayerObjectType |
TurretObjectType |
VehicleObjectType;However, in the 1_2++ release of the engine code, this code is MIA.
So what I'm wondering is,
1. Where did it go, or better yet what replaced it?
2. If I wanted to add the equivalent of this:
static U32 sDirtySetMask = PlayerObjectType |
// phdana turrets ->
TurretObjectType |
// <- phdana turrets
VehicleObjectType;how would I do it?
So, any insight would be greatly appreciated.
Thanks to any taker(s).
[HOW]-Ed
About the author
Associate Edward F. Maurina III
Roaming Gamer LLC
The function: getCollisionMask() in vehicle.cc has been made into a pure virtual function, requiring
the children of this class to implement it, which is of course why the mask is no longer needed
in vehicle.cc
Thanks for anyone who did read this. Maybe someone will have the same question in the future.
-ed