IsPointinside on dedicated server
by Thomas Huehn · in Torque Game Engine · 12/06/2007 (11:33 am) · 2 replies
I did not find any documentation / thread about it but it seams that ispointinside does not work on dedicated server ?!
Maybe because the interior is not loaded. Anybody did get the same problem ?
Maybe because the interior is not loaded. Anybody did get the same problem ?
About the author
Contact: torque [AT] ohmtal [DOT] com
#2
12/07/2007 (12:26 pm)
Btw. ispointinside is broken anyway if you plan to use it, fix it before. There is a "static bool lastValue = false;" as return result. And if it ever gets true it will allways return true if inside or not.
Torque 3D Owner Thomas Huehn
isPointInside uses gClientContainer.castRay !
To fix it i replaced it with gServerContainer.castRay. Now it works :)