Game Development Community

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

#1
09/03/2007 (10:34 pm)
www.garagegames.com/mg/forums/result.thread.php?qt=64664 workin on it off and on. feel free to contribute/ kick arround ideas.
#2
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