Game Development Community

Mounting fxRenderSphere on a shape?

by Corey Martin · in Torque Game Engine · 01/25/2004 (7:17 pm) · 6 replies

I have just recently downloaded and implemented the wonderful fxRenderSphere resource I found here on the vault, and have had no problems getting it working. My question is, can I set up a ShapeBase object which mounts an fxRenderSphere with the appropriate parameters on a mount point, and if so, how would I do so?

The purpose of the shape is to be a marker. When the marker is activated, a green field surrounds it. When the marker becomes deactivated, a red field surrounds it.

#1
01/25/2004 (9:15 pm)
Sure. Inherit from ShapeBaseImage and all will be well.
#2
01/25/2004 (10:29 pm)
What's fxRenderSphere? couldnt find it anywhere...
#3
01/26/2004 (4:22 am)
Think he means this.
#4
01/26/2004 (4:32 am)
... or this?
#5
01/26/2004 (4:39 am)
Oh ok my bad :) I just immediately thought of you Melv when he said fxRender :)
#6
01/26/2004 (6:42 am)
Its the link Melv posted, the quad one..

Ive tried to establish the marker as a ShapeBaseData type, with a ShapeBaseImage that uses fxRenderSphere as its class, but I get the feeling that this is the wrong approach. Any suggestions?