Page 1 of 1
Trigonometric Parameters
Posted: Sun Sep 04, 2011 12:56 am
by Marth8880
How would I go about making a missile-type ordnance, launched from a cannon-type weapon, fly in an arc? I already have the trigonometric equation figured out: -x^2 / 8 + 10. How would I set this up using the ShotPattern function?
Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 2:12 am
by CalvaryCptMike
Wouldn't you just do it the same way as a grenade launcher fires in an arc? I don't think you need to be using any trigonometry for this( but I could be wrong ) try checking out the grenade launcher ODF. Is there any particular reason it needs to be a missile anyways?
Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 2:23 am
by Marth8880
CalvaryCptMike wrote:Wouldn't you just do it the same way as a grenade launcher fires in an arc? I don't think you need to be using any trigonometry for this( but I could be wrong ) try checking out the grenade launcher ODF.
The ordnance is supposed to fly like a missile does, but in an arc; it's
the Warp biotic power from Mass Effect.
CalvaryCptMike wrote:Is there any particular reason it needs to be a missile anyways?
ShotPattern can only be used with missiles shot be cannons (I think).
Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 5:04 am
by keenmike
Is it as simple as working with gravity values and if none then add it?
Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 6:05 am
by Marth8880
keenmike wrote:Is it as simple as working with gravity values and if none then add it?
Missiles are self-propelled, no? Again, I am not working with grenade-like ordnance.
Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 6:28 am
by keenmike
SWBF1 rep_weap_inf_torpedo_launcher_ord.odf
I still think adjust Gravity values then weapon pointed up will arc downward due to gravity.
[OrdnanceClass]
ClassLabel = "missile"
[Properties]
LifeSpan = "8.0"
TurnRate = "2.0"
Velocity = "55.0"
Gravity = "0.0"
Rebound = "0.0"
Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 6:47 am
by Marth8880
keenmike wrote:SWBF1 rep_weap_inf_torpedo_launcher_ord.odf
I still think adjust Gravity values then weapon pointed up will arc downward due to gravity.
[OrdnanceClass]
ClassLabel = "missile"
[Properties]
LifeSpan = "8.0"
TurnRate = "2.0"
Velocity = "55.0"
Gravity = "0.0"
Rebound = "0.0"
That would make a hyperbola, not an algebraic arc.
Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 7:23 am
by keenmike
Something other than asymptote? Is it possible for you?

Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 8:46 am
by Teancum
Marth8880 wrote:keenmike wrote:SWBF1 rep_weap_inf_torpedo_launcher_ord.odf
I still think adjust Gravity values then weapon pointed up will arc downward due to gravity.
[OrdnanceClass]
ClassLabel = "missile"
[Properties]
LifeSpan = "8.0"
TurnRate = "2.0"
Velocity = "55.0"
Gravity = "0.0"
Rebound = "0.0"
That would make a hyperbola, not an algebraic arc.
Well you gotta work with what you have.
Re: Trigonometric Parameters
Posted: Sun Sep 04, 2011 3:08 pm
by FragMe!
The only time I have seen that kind of arc is using target lock on, like I did in hunt mode of Naboo Sewers. Lock on to the target tilt rocket launcher up maintaining lock and firing. It is great fun.
Or as seen here with wrist rockets
