|
Cryas Tokhes
Great Googley Moogley...
Join date: 8 Feb 2006
Posts: 124
|
11-15-2007 19:16
There are a few issues with llRezObject that I am currently having issues with, and if anyone has any personal experience with this i would greatly appreciate it. I am looking to make a simple throw object script, I have all the controls working and the object is rezzing just fine, however I am running into an issue with the rotation. or angle in which the velocity sends it. Currently the object will only be shot in the set vector for velocity. I have gotten permissions on the camera already and am able to get that angle to come up correctly, however I am just not getting how to tie this into the velocity of the object. Basically I want the object to rez and be sent in the same rotational angle as that the camera is currently looking. I hope i didnt confuse too many people with this. Long day... :\
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
11-16-2007 22:56
I'd take a look at gun scripts, with the idea of making the gun look like something else (base ball, hand grenade, rock, snowball, etc)... that "shoots" and unscripted prim version of itself at the target defined by the mouselook view
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Cryas Tokhes
Great Googley Moogley...
Join date: 8 Feb 2006
Posts: 124
|
11-17-2007 11:08
i have tried to track down some online resources for gun scripts, but was able to find none. the llRezObject for the bullet would be what i am looking for :/
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
11-17-2007 19:34
 I think that'll do it, if not, hopefully someone else has something, guns aren't my thing =)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|