Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: mRax on November 30, 2006, 04:19:58 PM

Title: .AddAttachment() method
Post by: mRax 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.
Title: Re: .AddAttachment() method
Post by: Mnemonic 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.