Transparent objects in client side only.
by Adam Johnston B · in Torque Game Engine Advanced · 04/10/2008 (2:41 pm) · 1 replies
Hi guys,
I have been searching for a way to make an object transparent (invisible)
only in the client. Imagine a vehicle where the player is mounted and you want to make the
vehicle transparent (but only for you).
I think that maybe there is a pretty simple call I'm missing.
Has somebody done this before?
Thank you.
I have been searching for a way to make an object transparent (invisible)
only in the client. Imagine a vehicle where the player is mounted and you want to make the
vehicle transparent (but only for you).
I think that maybe there is a pretty simple call I'm missing.
Has somebody done this before?
Thank you.
About the author
Torque 3D Owner Nathan Bowhay - ESAL
ESALPllc
mShapeInstance->animate();
mShapeInstance->render();
doesn't get called (this may be different in TGEA, I only did this back in TGE, but it shouldn't be that different).
If you are setting a variable and then check for that variable in the render function make sure that the variable is only set on that client object and that it is never updated to the server and therefore the other clients (pack unpack update as well who you set the variable on).