|
RaptonX Zorger
Registered User
Join date: 26 Jan 2006
Posts: 79
|
04-01-2006 13:20
But I want the force to be relative to the objects direction, not the world, lets say something that shoots small rezzed prims out of it, but will shoot out of the end, not just according ot the worlds direction, liek when I turn, it shoots out the side, or the back....want to keep it lined up. Is there a way to do this without having to calculate the position or rotation of my ave?
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
04-01-2006 13:34
No you have to calculate the position and rotation, and it's not hard. Take a look at the example gun script on the wiki.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
RaptonX Zorger
Registered User
Join date: 26 Jan 2006
Posts: 79
|
04-01-2006 15:40
From: Strife Onizuka No you have to calculate the position and rotation, and it's not hard. Take a look at the example gun script on the wiki. Ah, ok, think I got it now.....though i am thinking I want to modify the angle a little without making it be affected by global...hmm....probably more simple then I think....guess I'll just read into it.
|