[sldev] Object Creation
Stan Vernier
sv193702 at ohio.edu
Tue Jan 29 12:29:00 PST 2008
I'm looking at trying to automatically create an object in game when a
message is received from another program. I got the IPC part working,
but the actual creation of an object seems to be eluding me. It seems
that the current implementation depends on the mouse click to figure out
the initial position when its created. I get the feeling that I might
be able to fake it by modifying the BOOL add_object(LLPCode,S32,S32,U8)
function that is in viewer.cpp. The x, y coord of the mouse click seem
to be converted into two LLVector3 values - ray_start_region and
ray_end_region.
Does anybody know exactly what these vectors are being used for and if
this will help?
More information about the SLDev
mailing list