Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: .AddAttachment() method  (Read 2551 times)

0 Members and 1 Guest are viewing this topic.

mRax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 55
    • View Profile
.AddAttachment() method
« on: November 30, 2006, 04:19:58 PM »

Is there possibility to choose not only parent bone, but the attached object bone. E.g.
Code: [Select]
actor.AddAttachment(FileName,AttachmentName,AttachmentBone,ParentBone);Huh, WME used (0,0,0) point, it's the same as AttachmentBone=NULL :) I want to create many objects attached each other (danceround). But each object must not attach (0,0,0) point to ParentBone another one.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: .AddAttachment() method
« Reply #1 on: November 30, 2006, 04:32:21 PM »

No, it's not possible. The attachment always uses the parent bone as its base point. You could probably tweak the attachment position to some extent by setting its PosX, PosY and PosZ properties, but that's about it.
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.036 seconds with 23 queries.