3ds Max / %scanTarg help!?
by James Chambers · in Torque Game Engine · 01/08/2006 (7:26 am) · 2 replies
Ok here is the problem I am running the [url=URL http://www.garagegames.com/uploaded/code/6780.doors.zip]door/interact script[/url] and it runs fine if i use the door.dts that came with it, but once i add my my own door.dts to the mix it quits working all together. So I know the coding changes i have made are no problem but it appears that my model is!
Details dealing with my door:
when i click to interact with the door, %scantarg returns 0 and says object is not found.
i can collide with the door and the crossbow from the FPS starting kit explodes with the door is hit. SO to my knowledge the col-1, collision-1, and LOScol-1 are all workign properly.. I think the error is in the LOS-1 but since all the collision nodes are copies of one another then it boggles the mind on why
hierachy

*i have reverted back to the original code to make helping easier and the code changes exceed max characters :)
thanks in advance,
Huot
Details dealing with my door:
when i click to interact with the door, %scantarg returns 0 and says object is not found.
i can collide with the door and the crossbow from the FPS starting kit explodes with the door is hit. SO to my knowledge the col-1, collision-1, and LOScol-1 are all workign properly.. I think the error is in the LOS-1 but since all the collision nodes are copies of one another then it boggles the mind on why
%scanTarg = ContainerRayCast (%startPoint, %endPoint, %searchMasks, %player); echo(%scanTarg); /// comes out as 0
hierachy

*i have reverted back to the original code to make helping easier and the code changes exceed max characters :)
thanks in advance,
Huot
#2
Fixed it just had to re-Embed the objects from an empty file... *Shrugs* works fine now
Huot
01/09/2006 (1:39 pm)
NVM Fixed it just had to re-Embed the objects from an empty file... *Shrugs* works fine now
Huot
Torque Owner James Chambers
my door.zip
*i am using 3ds Max 7
thanks again
huot