HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Lock Chest Facing

08-25-2005, 04:41 PM#1
Tim.
Alright I'm using the action 'Lock Hero[Integer A]'s Chest to Dummy.' The Dummy is located directly infront of the unit. When I ask the unit to lock its chest to the dummy it locks but faces about 60 degrees to the left of the dummy.

I could compensate this with another dummy with a different offset, but would rather not. Ideas?

Quote:
Animation - Lock Hero[(Integer A)]'s Chest to face Dummy <gen>, offset by (0.00, 0.00, 90.00)
08-25-2005, 05:15 PM#2
Kalvorod
It could be that the chest of the unit doesn't face perfectly forwards, which unit modle is it?(footman is kinda tilted when he stands)

I don't really know how to fix it, but that might be why.
08-25-2005, 07:06 PM#3
Tim.
It is a custom model we have created for the mod. The bone is correctly placed.
08-26-2005, 11:07 AM#4
iNfraNe
what you could ofcourse do is check the angle between the hero and the dummy and use the offset function given :) just some math... if u cant work it out give me your msn and ill try and explain it 2 u :)
08-26-2005, 01:39 PM#5
Tim.
The 'Locks unit facing' trigger locks to a unit value, not an angle.

EDIT: Solved via offset value of -100 along the X axis.