RE: [Plib-users] ssgHOT question ... solved
Brought to you by:
sjbaker
From: McEvoy, N. <nic...@ds...> - 2002-01-18 05:09:41
|
Duh ... stupid me ... When I'm in 1st person view my player ssgEntity is not in the scene ...HOT calculation works fine When I switch to external view I add my player ssgEntity to the scene ...now HOT calculation (which starts *inside* the player object) hits my player ssgEntity object ... giving me my height above my players feet (actually its a space-craft so it doesn't have feet ... but I do digress) !!! My solution is obviously to clear the traversal mask bits when I load my player !!! pPlayerObject->clrTraversalMaskBits(SSGTRAV_ISECT|SSGTRAV_HOT); Now I get the correct Height of Terrain ... in both views !!! So that weird problem was just me after all ... now I'll just slink away and hide :-) Nick http://members.ozemail.com.au/~ndmcevoy/ |