+ Reply to Thread
Results 1 to 4 of 4

Thread: Finding direction for vector thruster

  1. #1
    Wire Amateur sukasa's Avatar
    Join Date
    Nov 2007
    Posts
    54

    Default

    I'm trying to build an Amraam-based missile that can take a GPS co-ordinate, and fly itself to that position using a vector thruster. I've got the basic missile set up; It has a normal wire thruster on the back, and a vector thruster up front for steering. I've got one GPS in the back and one up front. Now, what I would like is a little help figuring out how to set up an expression gate or whatever to take the current missile position/direction and have it be used in conjunction with the GPS co-ordinates given from a data transferrer in back to steer the misisle using the vector thruster.

    So far, the operation of the missile is planned like this:

    Data transferrer (over B/C/D outputs) gives the missile the co-ordinates it's supposed to attack
    Transferrer then sends 1 over A, which activates the rear thruster.
    3 seconds later (giving the missile time to leave the launch tube), the vector steering is to kick in.

    I have everything except the steering system, can anyone please help me?

  2. #2
    Wirererer -Gamah's Avatar
    Join Date
    Oct 2007
    Posts
    391

    Default

    have the incoming X go to X value of vector, Y goes to Y and Z goes to Z, pretty simple. thruster should automatically accelerate towards those coords.

  3. #3
    Wire Amateur sukasa's Avatar
    Join Date
    Nov 2007
    Posts
    54

    Default

    That didn't work, but I did manage to get a target finder and beacon sensor onto the Amraam without it being unsightly, however, it steers really weirdly. Can I ask for any help with it (attached below)

    It's wired almost as shown in the picture below, but I didn't bother to add in the If-Then-Else chips that simply acted as multipliers to get the thrusts I wanted >_>

    By weird steering I mean it steers anywhere BUT towards the locator target no matter what thrust I set the vector thruster to, positive or negative. Anyways, to fire it, just send 1 along (A) in the data transferrer hanging off the back. you may want to fiddle with the constant value chip, It's on the side of the amraam, farthest forward. Up is when the target finder's extrusion is facing up.
    Attached Thumbnails Attached Thumbnails Finding direction for vector thruster-amraam.png  
    Attached Files Attached Files

  4. #4
    Wire Weeaboo Pyro-Fire's Avatar
    Join Date
    Aug 2007
    Location
    WA, Australia
    Posts
    1,804

    Default

    use vectors.



+ Reply to Thread

Similar Threads

  1. Finding Vector in radius of E2.
    By Legendary Ace in forum Expression 2 Discussion & Help
    Replies: 19
    Last Post: 03-23-2009, 03:13 PM
  2. [E2 Help] Entity -> Direction Vector
    By Alchemise in forum Expression 2 Discussion & Help
    Replies: 7
    Last Post: 02-15-2009, 02:22 PM
  3. Expression2: Direction Vector
    By RabidCrab in forum Expression 2 Discussion & Help
    Replies: 2
    Last Post: 01-23-2009, 07:50 PM
  4. Vector Thrusters and Vector Direction with a Pod
    By zentiger in forum Installation and Malfunctions Support
    Replies: 8
    Last Post: 09-26-2008, 12:01 AM
  5. Normalizing vector direction.
    By Shockbolt in forum Installation and Malfunctions Support
    Replies: 6
    Last Post: 11-17-2007, 04:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots