Cast ray on client side problem
by DIAG · in Torque Game Engine · 07/13/2006 (7:44 am) · 4 replies
Hi all,
Im trying to use the CastRay method (sim/sceneObject.cc line) on the client side. When I do so, I get a crash on line ~1197 specifically:
SceneObjectRef* chain = mOverflowBin.nextInBin;
Can CastRay be used on the client? Any suggestions?
Cheers
Damien
Im trying to use the CastRay method (sim/sceneObject.cc line) on the client side. When I do so, I get a crash on line ~1197 specifically:
SceneObjectRef* chain = mOverflowBin.nextInBin;
Can CastRay be used on the client? Any suggestions?
Cheers
Damien
#2
07/13/2006 (11:26 am)
Have you taken a look at guiCrossHairHud yet? You should.
#3
Works well now! Thanks again.
Damien
07/14/2006 (5:32 am)
Cheers Stefan. I needed to use gClientContainer when casting the ray. Works well now! Thanks again.
Damien
#4
Glad you got it working! (:
07/14/2006 (6:38 am)
I was changing stuff in that very file when I saw your question.Glad you got it working! (:
Torque Owner Paul /*Wedge*/ DElia