Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rez Object, Local Based!

Nyx Alsop
Registered User
Join date: 14 Dec 2008
Posts: 252
12-27-2008 06:02
Hi.

I'm having a problem with this.

llRezObject("bullet", llGetPos()+<2,0,0>, llRot2Fwd(llGetRot()) * 25, llGetRot(), 0);

It's using the llGetPos()+<2,0,0> based on the region, where as I need it based on the local params.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
12-27-2008 11:11
The third parameter is very close to what you want for the offset. Either use 'llGetPos()+2.0*llRot2Fwd(llGetRot())' or 'llGetPos()+<2.0, 0.0, 0.0>*llGetRot()'. You were closer than you thought. :)