Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: How to get X & Y screen position of an attachment to an Actor?  (Read 2144 times)

0 Members and 1 Guest are viewing this topic.

redfox

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 122
    • View Profile
How to get X & Y screen position of an attachment to an Actor?
« on: October 23, 2007, 05:21:25 AM »

Can anybody tell me if it is possible to get the X and Y screen position from an attachment, (which is attached to a 3D actor) through using the GetAttachment(AttachmentName) or some other means? 

I have tried to read the X/Y position of the attachment object and also the POSX/POSY, but get no result.

At present I have attached a second mesh to a bone of my original model. I can get the X and Y of the original model but not the attachment or even the bone I used to attach to?

Can anybody point me in the right code direction?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: How to get X & Y screen position of an attachment to an Actor?
« Reply #1 on: October 23, 2007, 03:15:16 PM »

Attachment position is not exposed to the scripts.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.043 seconds with 23 queries.