Material never set in RayInfo? TGEA 1.01
by Kristoffer Benjaminsson · in Torque Game Engine Advanced · 09/03/2007 (2:56 pm) · 2 replies
Hi,
It seems that the material variable in the RayInfo struct is never set to any value when doing ray casts? So far I've tested against terrain (legacy), interiors, and different ShapeBase objects. Is this fixed in 1.02 or 1.03? If not, are there any plans on fixing it? Right now it's a bit annoying having a variable that can't be used (especially since I need the info ;)) If it's not planned to be fixed, maybe the variable should be removed to avoid confusion?
Thanks,
Kristoffer
It seems that the material variable in the RayInfo struct is never set to any value when doing ray casts? So far I've tested against terrain (legacy), interiors, and different ShapeBase objects. Is this fixed in 1.02 or 1.03? If not, are there any plans on fixing it? Right now it's a bit annoying having a variable that can't be used (especially since I need the info ;)) If it's not planned to be fixed, maybe the variable should be removed to avoid confusion?
Thanks,
Kristoffer
#2
I'll bookmark the thread and post my stuff for getting materials from the legacy terrain ray casts.
Thanks,
Kristoffer
09/04/2007 (9:41 am)
Sweet!I'll bookmark the thread and post my stuff for getting materials from the legacy terrain ray casts.
Thanks,
Kristoffer
Torque Owner Kirk Longendyke