+ Reply to Thread
Results 1 to 3 of 3

Thread: Attachment vector help

  1. #1
    Arc
    Arc is offline
    Wirererer Arc's Avatar
    Join Date
    Jan 2008
    Posts
    178

    Default Attachment vector help

    How would I get a vector local to a players right hand? I'm trying to get at least 10 units in front of the players right hand for something but, there is no V:toWorld(V) (if that's even possible).

    Code:
    Self = entity()
    Owner = owner()
    Vector = ((Owner:attachmentPos("righthand")) - Self:pos) * 100
    This works but is far too close to the player for what I need. Any help is appreciated.
    Scott: You can gib a child with one stroke of the nanosword!
    Chris: That's because children have fewer hit points. They are inferior and weak.

  2. #2
    Wire Noob chavkill's Avatar
    Join Date
    Apr 2009
    Posts
    10

    Default Re: Attachment vector help

    bump

  3. #3
    Wirererer holy knife's Avatar
    Join Date
    Feb 2010
    Posts
    224

    Default Re: Attachment vector help

    Your best bet would be to place an invisible holo there and toworld the holo entity

+ Reply to Thread

Tags for this Thread

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