View Full Version : Gotta BIG problem with bones!! HElp Pleas!
I've created a model of man and given him animations and skeleton.
Now I 've made a lot of weapons for him i I dont know how to give it him in game. I was trying to add bone of sword to hand's bone in model but it makes errors. Please Help me any way you want. Please.
Sorry for my language and any mistakes..
01-06-2003, 12:54 AM
if your created model is type of "md2" then try do the following:
somewhere're your TGLActors declared
YourWeaponActor.Synchronize(YourActorModel); // use the same animations as youractormodel
if its all kind of "smd" then this code should work :P *should*
erm.. you could also see the demos in :
p.s. you can also try to ask on the iRC channel irc.voidzero.com#glscene
I'am using SMD. I was trying to synchronize but it does not work.
I'll try MD2.
Great Thanks for reply Philipp
Did you remember to make the weapon actor a child of the character actor?
02-06-2003, 03:55 AM
You'll need to update the weapon position each frame, put this in something like a GLCadencer OnProgress event:
IIRC, the weapon needs to be a child of the actor (could be wrong on that one). THE_BONE_ID is the ID of the hand I would guess.
I'll try it!
I dont know what would i do without your help - my "delphi friends".
Powered by vBulletin® Version 4.1.10 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.