StartFade() for PlayerData
by Ivan Mandzhukov · in Torque Game Engine Advanced · 11/02/2007 (8:58 am) · 6 replies
Does anybody know why startFade() doesn't work with PlayerData objectss? I try to hide my player after entering trigger and i call startFade in the standart way , This is the code :
%Obj.startFade( 2750 , 1 , true );
//where %Obj is my player object
%Obj.startFade( 2750 , 1 , true );
//where %Obj is my player object
#2
I can't understand why startFade() doesn't work on PlayerData objects having in mind that PlayerData is derived from ShapeBaseData and startFade() is supposed to work on ShapeBaseData objects.
I also tried it on item objects. It doesn't work in them too.
11/02/2007 (2:24 pm)
Unfortunately this isn't going to do the job. i am using TGEA 1.0.3I can't understand why startFade() doesn't work on PlayerData objects having in mind that PlayerData is derived from ShapeBaseData and startFade() is supposed to work on ShapeBaseData objects.
I also tried it on item objects. It doesn't work in them too.
#3
The changes in TGEA 1.0 to make it more batched removed several capabilities it had during EA.
11/03/2007 (9:44 am)
It doesn't work on any object unless you fix it.The changes in TGEA 1.0 to make it more batched removed several capabilities it had during EA.
#4
11/03/2007 (10:08 am)
Yeah, i found out it. Do you know how to fix it?
#5
11/03/2007 (12:55 pm)
Above thread by Mark gives you hints on how to do it.
#6
11/03/2007 (1:11 pm)
I'd better use a shader...
Torque 3D Owner Mark Dynna