| 10-01-2008, 03:40 PM | #1 |
A long time ago I heard that it was possible to edit a model to allow changing facing instantly. Something about setting the interpolation speed between animations to zero. Does anyone know if this is actually possible? |
| 10-01-2008, 04:00 PM | #2 |
Ask Litany or Kaz. I think they did that thing with insta-facing. |
| 10-01-2008, 04:25 PM | #3 |
I think the property you're looking for is "Blend Time", which can be set in the Object Editor. Setting this to zero will make models "snap" between animations with no smoothing. I assumed unit facing was all to do with the turn rate, but I've never really looked into it. |
| 10-01-2008, 04:40 PM | #4 |
With blend time set to 0 and turn speed set to 99999999, the unit still turns rather slowly. Has anyone confirmed that it is even possible to change facing instantly with a model edit? |
| 10-01-2008, 04:59 PM | #5 | |
Quote:
|
| 10-01-2008, 04:59 PM | #6 |
Short of giving the unit a sequence that automatically makes it turn to face a different way, the model's properties have absolutely no effect on that kind of thing. The only thing in a model that is even remotely related to "outside" things are the MoveSpeed properties. |
| 10-01-2008, 05:02 PM | #7 |
Would using SetUnitLookAt, with an attachment point on the bone you change work? |
| 10-01-2008, 05:06 PM | #8 |
| 10-01-2008, 05:07 PM | #9 |
I suppose you could use that, renaming your root node to Bone_Head or Bone_Chest or whatever of these that function can operate on. |
| 10-01-2008, 05:14 PM | #10 | ||
Quote:
Quote:
This is how a lot of the stuff in O has been crafted. |
| 10-01-2008, 06:17 PM | #11 |
Thanks, I've got it working now. |
