+ Reply to Thread
Results 1 to 5 of 5

Thread: How to get the current Z position of a player?

  1. #1
    Wire Aficionado
    Beer is a jewel in the rough Beer is a jewel in the rough Beer is a jewel in the rough Beer's Avatar
    Join Date
    Jul 2007
    Location
    Dallas, Texas
    Posts
    1,378

    Default

    Just a quick question. I'm just messing around with a few things and ran into a little issue.

    I have a platform suspended with wire hoverballs. My goal is to set the hoverball's Z position to the height of a targeted player. I currently just have a target finder and beacon sensor wired. The problem is that the target finder outputs the distance in the Z axis between itself and the next target. What I need is the Z position of the target relative to the world. So basically, if the player jumps, so does the platform. If the player noclips into the sky, the platform follows him.

    Can I do this?

    Thanks

  2. #2
    Wire Sofaking quadrapod is on a distinguished road quadrapod's Avatar
    Join Date
    Apr 2007
    Location
    PA
    Posts
    451

    Default

    set the beacon sensor to find gps. and add to the gps the height of the ground. the ground is not at gps level zero on most maps. it is normally slightly higher. just put a gps on the ground to find that value.

  3. #3
    Wire Aficionado
    Beer is a jewel in the rough Beer is a jewel in the rough Beer is a jewel in the rough Beer's Avatar
    Join Date
    Jul 2007
    Location
    Dallas, Texas
    Posts
    1,378

    Default

    <strike>Thanks quadrapod. I just started to learn how beacons/locators/GPS/etc work last night, so I&#39;m still pretty new in that area.. Can you explain a little more how I wire that?

    Where I&#39;m hazy is in your first sentence "set the beacon sensor to find gps". If it&#39;s finding GPS, wouldn&#39;t it just be finding the location of the GPS and not the target? I&#39;m a little confused.

    Thanks</strike>


    Edit:
    Nevermind, I figured it all out. Just had to add the GPS Zpos to the BeaconZ. Thanks!

    Also, while I&#39;m at it.. what makes the Hoverballs glow red? I was thinking maybe it meant they were turned off.. but when pointing at them the tip says they are turned on.

  4. #4
    Inactive Valeour is on a distinguished road Valeour's Avatar
    Join Date
    Jun 2007
    Posts
    157

    Default

    just use the colour tool...
    Valeour Mizukiri, the fun lovin&#39; idiot.
    [url="http://bolthameproductions.co.uk"][img]http://img143.imageshack.us/img143/3465/valeourmizukirisig3tr3.png[/img][/url]
    Check out [url]www.bolthameproductions.co.uk[/url] please!

  5. #5
    Inactive pogo is on a distinguished road pogo's Avatar
    Join Date
    Jul 2007
    Posts
    62

    Default

    what makes the Hoverballs glow red?[/b]
    It is usually when they are off, yes. they glow blue when they are on

    well, thats how it works for me, at least

+ Reply to Thread

Similar Threads

  1. How do I make Random Chip stop on the current number it's at?
    By Sixers2329 in forum Technical Support
    Replies: 3
    Last Post: 09-20-2008, 04:10 PM
  2. -Request- Forward position
    By Fatallight in forum Technical Support
    Replies: 5
    Last Post: 02-05-2008, 07:22 PM
  3. Current Big Project?
    By Eagleguy125 in forum Wiremod General Chat
    Replies: 55
    Last Post: 01-06-2008, 01:29 AM
  4. Getting rotation from position
    By MattaU in forum Wiremod General Chat
    Replies: 9
    Last Post: 07-04-2007, 01:05 AM
  5. Current Time Gate
    By yaworski in forum Ideas & Suggestions
    Replies: 7
    Last Post: 04-17-2007, 05:59 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